I have installed all the jar files and tlds e.t.c for my application but it is giving errors as :
Cannot find the tag library descriptor for /WEB_INF/tlds/struts-bean.tld Cannot find the tag library descriptor for /WEB_INF/tlds/struts-html.tld Ccannot find the tag library descriptor for /WEB_INF/tlds/struts-logic.tld
I request to provide suggestion to solve above probs.
Thanks Hari [ February 02, 2008: Message edited by: Bear Bibeault ]
No, you don't. If the TLDs are properly placed in the web app, no entry in the deployment descriptor is necessary.
This is true in case of the servlet specifications 2.4 (J2EE 1.4), but you have to put the <taglib> declaration in older versions, which are still widely used (Especially servlets 2.3 in J2EE 1.3) till this day in a lot of companies worldwide.
Am sorry that I typed(WEB_INF) wrongly it is WEB-INF and added the <taglib> declaration to the web.xml even though it is showing the same error.
Joined: Jan 28, 2008
If you are using struts-taglib-1.x.x.jar, I don't think that you need to put the tlds or define them in your web.xml in the first place. If you are using servlet version 2.4 or 2.5 (check the web-app root tag, and the doctype of your web.xml), then the presence of the tlds under WEB-INF/tld (not WEB-INF/tlds) is more than enough, and you don't need to define the location in the web.xml.