| Author |
struts defn in web.xml
|
abiodun emmanual
Greenhorn
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> <taglib-uri>/WEB-INF/app.tld</taglib-uri> <taglib-location>/WEB-INF/app.tld</taglib-location> </taglib> 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:- <taglib> <taglib-uri>/struts-bean</taglib-uri> <taglib-location>/WEB-INF/lib/struts.jar</taglib-location> </taglib> ie saying that the .tld file is inside the struts jar file. thanku for your time
|
 |
 |
|
|
subject: struts defn in web.xml
|
|
|