This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am novice to the struts. I have downloaded a blank application from apache.struts.org for struts 1.3.10. After extracting it when i try to call it in browser i am getting the above error. There are no tld files in the WEb-INF folder. I have also set the classpath to struts-taglib-1.3.10.jar;
Rupal, if you've included the Struts library files into your web application (WEB-INF\lib folder) then you don't need to move the tld files in them to WEB-INF and you don't need to include any tag-lib directive in web.xml (that was needed for older servlet containers)...
You don't need to set the classpath to WEB-INF/lib folder, the container automatically looks for classes (in jars) in this folder. Can you check if the struts-tablib-1.3.10.jar has the required tlds in META-INF\tld folder (you can open the jar with a software like winrar)...
Joined: Aug 13, 2010
Yes I do have all the four tlds in the META-INF/TLD folder. SO then what shall i write in the web.xml . My web.xml is as under