This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
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