File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use JSTL ?

 
Ming Li
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I many tutorials and articles, but no one of them can help me to solve my problem!
I am using JSTL 1.1, I downloaded jstl-1_1-mr2-spec-api.zip from sun and put the unzipped jar file into to Tomcat5.0(in <tomcat-home>/command/lib directory);
the following taglib directive is added to the jsp file:
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
I also added the following to web.xml, but I down know what is the content of tablib-location ? I know that it may be a .tld file's location, but if it is, where is the .tld file? i can't find it in JSTL downloaded JSTL! is that need to create the tag library descripter ourself ?

[ January 28, 2004: Message edited by: Ming Li ]
 
Sivasundaram Umapathy
Ranch Hand
Posts: 360
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Download the Jakarta standard 1.1 taglibs from http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html.
Installation is very simple.Just copy the jstl.jar and standard.jar in the WEB-INF\lib directory of your web application and it works.
 
Ming Li
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Sivasundaram,
Thank you very much, I can use Jakarta standard 1.1 taglibs now!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic