Two Laptop Bag*
The moose likes JSP and the fly likes JSTL does not show values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL does not show values" Watch "JSTL does not show values" New topic
Author

JSTL does not show values

Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 574
    
    1

Tomcat 6
java 6
Eclipse IDE for j2ee 3.x
-----------------------------


it shows following output:
Movie list:
$(movieList)
but I want values of string array.

I put jslt 1.1 taglibs on web-inf/classes,web-inf/lib and also included
as an external jar on my web-app.


Back to Java , again.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

  • If you are using servlets 2.4+, you don't need to set isELIgnored. It's false by default
  • EL is identified using curly brackets : $(movieList) -> ${movieList}
  • You don't need to put anything in WEB-INF/classes. JSTL1.1 (standard.jar and jstl.jar) in WEB-INF/lib is enough


  • [ March 27, 2008: Message edited by: Christophe Verre ]

    [My Blog]
    All roads lead to JavaRanch
    Bobby Sharma
    Ranch Hand

    Joined: Mar 18, 2008
    Posts: 574
        
        1

    Problem solved.

    brackets problem LOL
    ----------------------
    Sir I put jslt 1.1 almost everywhere on my eclipse web-app without success.
    one more thing jstl 1.1 came with tons of tld files along with stantard.jar and jstl.jar files,I already took care of jars but where to put those tld file I have no idea.
    [ March 27, 2008: Message edited by: omi sharma ]
    Christophe Verré
    Sheriff

    Joined: Nov 24, 2005
    Posts: 14687
        
      16

    Please follow all instructions on this page. And please remove those TLD files You don't need them.
    Bobby Sharma
    Ranch Hand

    Joined: Mar 18, 2008
    Posts: 574
        
        1

    thank you sir , problem solved.
    I did set this () and I should have set {}. LOL

    thanks for your help
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: JSTL does not show values
     
    Similar Threads
    c:forEach tag
    jsp:include inside c:forEach
    how to get jstl working
    help-standard tag c:forEach practice
    Using JSTL example in K&B Book