File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes using jstl with struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using jstl with struts" Watch "using jstl with struts" New topic

using jstl with struts

Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
Hi there. I'm trying to use the jstl core taglib along with struts to give me greater control-of-flow, but the app doesn't seem to want to load the tld file. I can't figure out what this is . . . can anyone help?

Heres the code -


and heres the error messgae from tomcat log!
Ed Chawlik

Joined: Aug 10, 2005
Posts: 16
Is there a jar file that goes along with this?
Stefan Evans

Joined: Jul 06, 2005
Posts: 1518
You shouldn't need any changes to web.xml, or any tld files in your directory.
All you need are the files "standard.jar" and "jstl.jar" in your web-inf/lib directory.

And then if you have
Servlet2.3/JSP1.2 = JSTL1.0 = <%@ taglib prefix="c" uri=""%> (eg Tomcat 4)
Servlet2.4/JSP2.0 = JSTL1.1 = <%@ taglib prefix="c" uri=""%> (eg Tomcat 5)
I agree. Here's the link:
subject: using jstl with struts
It's not a secret anymore!