How to add a class to the classpath
Posted on 2004-08-16
I have a webapplication that uses jasper repots to generate a report. The i have my report is as follows: There is a report file called address.jasper with a scriplet( which is just a java file) called adressscriplet.class
I dont want to add the addressscriplet.class to the WEB-INF/classes directory b/c i may modify the report and the scriplet and dont want to stop the webapp. I want to take my new report modifications along with the scriplet and put it in a directory called reports and update it at anytime with out having to stop the application.
I have tried putting the path in the classpath: ex. CLASSPATH=%CLASSPATH%;c:/reports
with no luck.
Is there a way to do it?