Ankit Garg wrote:
Ranveer K Kumar wrote:did you check web.xml for proper tag defination..
That's not required as the container looks inside jars for tld files.
You said that the jars (including commons jars that David pointed out) are in /struts/WEB-INF/lib folder. You wrote /webapp/WEB-INF/lib but earlier you said the project folder name was struts. Please confirm this and that the commons jars are also in the lib folder...
Sorry, the webapp name is 'struts', I was beign generic when I wrote webapp.
The app is called 'struts' under it I have the /WEB-INF/lib folder, which has the JARs listed above including the two extra ones Dave mentioned. The TLD is in the struts2-core2.1.6.jar under /META-INF
I have the taglib directive of
<%@ taglib prefix="s" uri="/struts-tags" %>
My understanding from the example is that Struts2 will automatically look through the JARs for teh matching .tld file.