title: Problem with JSTL and weblogic
body: <p>I get the following error when I run my java ee app on weblogic,</p>
  
  <blockquote>
    <p>javax.servlet.jsp.el.ELException: Cannot find PropertyDescriptor for 'name' for bean 'class java.lang.String' </p>
  </blockquote>
  
  <p>I want to print a list of artists with the following class, </p>
  
  <pre><code>    public class Artist {
      private int id; 
      private String name;
      private String genre;
  
      public Artist() {
  
      }
      public Artist(String name){
          this.name=name;
      }
      public void setId(int id) {
          this.id = id;
      }   
      public int getId() {
          return id;
      }
       public void setName(String name) {
          this.name = name;
      }
       public String getName() {
          return name;
      }
       public String getGenre() {
          return genre;
      }
       public void setGenre(String genre) {
          this.genre = genre;
      }
  }
  </code></pre>
  
  <p>The following lines of code seem to be causing the problem because when I remove it I don't get the error anymore.</p>
  
  <pre><code>&lt;c:forEach items="artists" var="artist"&gt;
      &lt;c:out value="${artist.name}"&gt;&lt;/c:out&gt;&lt;br/&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>When I use PrintWriter to print, it works:</p>
  
  <pre><code>for (Artist artist:artists){
      resp.getWriter().println(artist.getName());
  }
  </code></pre>
  
  <p>I am using java ee 2.4 and weblogic 9.2 </p>