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'm trying to do a simple hello world struts app (using Struts 1.3) on Websphere App Server 7.1.
The JSP's are not able to find the tag libraries showing the error "Can not find the tag library descriptor for "http://struts.apache.org/tags-logic"
From what I understand
1. With JSP 2 it is not required to mention .tld descriptors in web.xml as structs.jar has it already - This does not seem to the case as I'm getting errors
2. I did enter the web descriptor in web.xml and moved the corresponding tld in the WEB-INF folder - this did not help either.
My web.xml looked like this
My jsp looks like this
1. Could you help me in understanding how to resolve this issue?
2. Is there any setting which needs to be done for RAD or WAS to configure Struts? All I did was create a dynamic web project, copy libs and created my struts-config.xml and java classes
Joined: Mar 15, 2011
Resolved the issue - It was an issue with the web.xml. Sharing the solution with the forum
1. Web.xml needs to mention the location of the tld with the absolute URL instead of relative path as I had put earlier