Hello everyone,
Here is my problem. I have JSPs under Apache JServ, that need to access
classes in a .jar file. The solution I use for now is the following :
- put the .jar in the classpath of the jvm (servlet.properties file)
- put <%@ import com.myclasses.* %> at the top of my JSPs
The problem is that each time I modify a class in this .jar, I need to
restart the Apache to have it reload the .jar. By the way, it seems that
there is a bug in Apache 1.3.6 JServ 1.0b3, as the JVM does not die all
the time when stopping Apache. Also, when one calls apachectl stop, if
the JVM dies, the destroy() method of the servlets does not seems to be
called.
My question is twofold :
1) is there a way to restart the JVM without restarting Apache ?
2) is there a way to dynamically load classes without declaring the .jar
in the classpath ?
Thank you for your help,
Jose Paumard

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to