This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi ! I have a question I cannot solve : I have a web application that runs JSp, which calls a function of a Java class. This class needs elements of a particular .jar. When I wrote my Java class, I made tests from another java class, but it couldn't run or compile without including the -classpath option in my command line (ex javac -classpath /product/bba/interface/lib/bba.jar). So now that I want to call my class from a JSP page, how can I do ? Thanks for any help, Gaelle.
Gaelle.<br />'Never forget to abuse of good things'
Any jars in the web server container's lib folder(tomcat/lib, resin/lib, etc) will be available automatically to all webapps. To make a jar available for a particular web app, place it in the web app's WEB-INF/lib folder. hth, bear