title: According to TLD or attribute directive in tag file, attribute items does not accept any expressions
body: <p>I have a project where I need to display details of movies in an HTML page. I must strictly follow MVC although I am not using any framework like Spring or Struts. I am also not allowed to use scriptlets, but use JSTL and expression language. I usually retrieve data from database and then set it to a bean and then make a list of those bean and pass it to JSP and then print those details. But how would I achieve it if I am not allowed to use JSP. If I use servlet to retrieve those data and set it to a bean and then to a list and pass it through request dispatcher, how am I going to get each bean from the list in the HTML page?</p>
  
  <p>I could not get this JSTL working. I am using Netbeans 7.0 and Apache Tomcat 7.</p>
  
  <pre><code> &lt;%@page contentType="text/html" pageEncoding="UTF-8"%&gt;
  &lt;%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
          &lt;title&gt;DVD Guru&lt;/title&gt;
          &lt;link rel="stylesheet" type="text/css" href="style.css" media="screen" /&gt;
      &lt;/head&gt;
      &lt;body&gt;   
       &lt;div id="wrapper"&gt;     
          &lt;c:set var="testing" value="blah"/&gt;
                  &lt;c:out value="${testing}"/&gt;
          &lt;/div&gt;      
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I get following error</p>
  
  <blockquote>
    <p>According to TLD or attribute directive in tag file, attribute items does not accept any expressions</p>
  </blockquote>
  
  <p>I have imported JSTL 1.1 library from project properties.
  Should anything else should be done?</p>