please let us know which version of struts you are using and also provide web.xml and also the path structure where you are keeping the tlds?
Main Topics
Browse All TopicsHi
I am trying to run the helloWorld app outlined in:
http://struts.apache.org/2
Although the app seems to be getting deployed to the server it then complains and terminates with the following message in Eclipse's server console:
org.apache.jasper.JasperEx
My build path includes struts2-code-2.1.8.jar and xwork-core-2.1.6.jar
Any help?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
hi
struts-tags.tld is not anywhere in my project. i never explicitly included it and i supposed that it wasn't pulled-in from anywhere. the only two things i specifically added to my eclipse project were: struts2-code-2.1.8.jar and xwork-core-2.1.6.jar from the struts-2.1.8/ lib directory
i looked at http://forums.sun.com/thre
i looked for it under the whole linux struts-2.1.8/ directory hierarchy with:
"find struts-2.1.8/ -name struts-tags.tld -print"
but the search didn't yield any results.
i also looked for it in the workspace using the the IDE's Search utility with the follwoing pattern but nothing found there either: struts*.tld
also notice, in the attached image which also shows struts.xml that the Java Resources tree is marked as having an error but if the tree-views are expanded the error is not visible anywhere further down the tree hierarchy
please look at attached image for IDE image and web.xml
hi ioanton
thanks for the advice but that doesn't work
the IDE was still complaining that it couldn't find the tld so i extracted it from struts2-core-2.1.8.jar and imported it into the project's META-INF folder and changed the jsp to point to it:
<%@ taglib prefix="s" uri="META-INF/struts-tags.
i also added the directives you mentioned in web.xml but now get a different problem:
this is out of Eclipse's server Console:
Exception starting filter struts2
ClassNotFoundException: org.apache.struts2.dispatc
then a stack trace follows and finally:
05-Nov-2009 20:53:05 org.apache.catalina.core.S
SEVERE: Error filterStart
i think there's something wrong with my install.
it's as if the classes and resources in my jars are not being detected in full. that is perhaps why the tld is being missed in the first place although it's in the struts2-core-2.1.8.jar
which is funny cause i just use the IDE to add them
thnx for any help
Make sure the whole set of libraries is located in the WebContent/WEB-INF/lib folder. You don't need to extract the struts-tags.tld from its jar file. The framework finds it automatically.
I don't see in your screenshot the struts.xml file. It must be located in the src directory, and will end up in the WEB-INF/classes folder after deployment.
nope.
managed to move the struts.xml but the jars aren't visible to drag and drop.
also cant run the app without having the tld hard-wired to its external location on the filesystem.
either way i get the error:
org.apache.jasper.JasperEx
Business Accounts
Answer for Membership
by: VenabiliPosted on 2009-11-04 at 22:07:21ID: 25747086
How does your web.xml look like? I am interested how the struts is defined so you look for the lines around "struts-tags.tld"
ad.jspa?th readID=536 1407 - the server is not able to link the uri that you have for the struts. It either does not see the tld or it looks in a wrong place for it. If you were missing the files, it would have been failing differently.
I suspect that you have an issue similar to the first issue here: http://forums.sun.com/thre