Results 1 to 2 of 2
  1. #1
    pablos is offline Member
    Join Date
    May 2010
    Posts
    1
    Rep Power
    0

    Default problem with jstl

    Hello Everyone,

    I have a problem, in view

    <c:forEach var="item" items="<%= request.getAttribute("errors") %>">
    <li>${item}</li>
    </c:forEach>

    but this is not working, any idea ?

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Don't just say "this is not working". Do you get a compilation error? Runtime exceptions?
    What messages do you get?
    Also use pure EL without mixing it with scriplets. i.e use ${requestScope.errors}

Similar Threads

  1. Weird problem with JSTL
    By Diego_Dalmasso in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 03-02-2010, 02:51 PM
  2. Problem Running in Simple JSTL example
    By arpitgadle in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 06-28-2009, 09:19 PM
  3. JSTL problem
    By mihir66 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 03-05-2009, 02:28 PM
  4. Problem is getting the data to browser(JSTL)
    By freddieMaize in forum JavaServer Pages (JSP) and JSTL
    Replies: 6
    Last Post: 07-15-2008, 03:04 PM
  5. Problem using jstl and displaytags
    By NikhilSrivastava in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 02-18-2008, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •