File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes How to use JSTL ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "How to use JSTL ?" Watch "How to use JSTL ?" New topic
Author

How to use JSTL ?

Ming Li
Greenhorn

Joined: Jan 28, 2004
Posts: 12
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

Joined: Aug 10, 2002
Posts: 360
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.


Siva
Co-Author - SCMAD Exam Guide - ISBN:9780070077881
Author - Java certification success, Part 4: SCEA
Ming Li
Greenhorn

Joined: Jan 28, 2004
Posts: 12
hi Sivasundaram,
Thank you very much, I can use Jakarta standard 1.1 taglibs now!
 
 
subject: How to use JSTL ?
 
Similar Threads
taglib descriptor
TLDs not working on Tomcat 5.5, but working on Tomcat 6
isScriptingEnabled dircetive problem
jstl problem
JSTL & Servlet-mappings in web.xml