This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, I have written utility that can be used in various applications (utility.jar). It is servlet driven(like struts).
I also wrote a web app to ensure the utility.jar can be practically used. The utility.jar is in the WEB-INF/lib of the web-app. The web.xml has a <servlet> and <servlet-mapping> that points to the servlet in utility.jar.
However, the web app is not able to locate the servlet in utility.jar. I have checked to ensure that the servlet mapping is ok by pointing the <servlet-mapping> towards another servlet in the web-app and it seems to locate it.
For some reason, it is not able to locate the servlet in the utility.jar. Is there something specific that I need to do when packaging my utility.jar so that the servelt class inside it can be located?