File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes struts defn in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "struts defn in web.xml" Watch "struts defn in web.xml" New topic

struts defn in web.xml

abiodun emmanual

Joined: Jun 23, 2003
Posts: 6
Hello Im sorry to bother evryone but I have a small problem with declaring taglib libs, I know that there are several ways of declaring taglib libs in the web.xml file. All the examples I seem to find like to declare it like this:-
<taglib-uri>/WEB-INF/app.tld</taglib-uri> <taglib-location>/WEB-INF/app.tld</taglib-location>
ie saying that the .tld file is located in the web-inf dir, but when using the struts jar file it already has all the .tld files inside the meta-inf dir of the struts.jar file, so why do I then need to copy the .tld file that I require from struts.jar to web-inf dir. Is there no way that I could declare something like this for the struts tags inside my web.xml file:-
ie saying that the .tld file is inside the struts jar file.
thanku for your time
I agree. Here's the link:
subject: struts defn in web.xml
It's not a secret anymore!