Originally posted by Venkatesh Kumar:
I still keep getting the exception which says invalid TLD resource path.can anyone tell me where I am going wrong .
Take the error message seriously. Your TLDs aren't where you say they are. The paths you give are in a directory called src; are the tlds in the deployed web application?
By the way, there was no need to change your taglib URIs. They are just identifiers and have nothing to do with the physical location of the TLDs. They can be anything.
BUT. The Struts taglibs have a default URI, such as
http://jakarta.apache.org/struts/tags-bean for the bean taglib; just look near the top of the TLD file.
I would strongly suggest you use these standard URIs. In fact, your TLDs should automatically be mapped to these URIs by the container without you having to specify
anything in web.xml (see JSP.7.3.4ff in the JSP specification)! This feature can be temperamental, though, and hasn't always worked for me. Still it's worth a try, less work to do is always good
- Peter