permaculture playing cards*
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
Author

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 -
web.xml:


jsp:


and heres the error messgae from tomcat log!
Ed Chawlik
Greenhorn

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

Joined: Jul 06, 2005
Posts: 1016
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="http://java.sun.com/jstl/core"%> (eg Tomcat 4)
Servlet2.4/JSP2.0 = JSTL1.1 = <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> (eg Tomcat 5)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using jstl with struts
 
Similar Threads
Could not parse deployment descriptor: java.io.IOException:
Can I use Struts tags inside plain HTML tags?
jstl is not working
Not able to display ActionMessges
Unable to load Class