How to "UNLOAD" a servlet ???
When I start a compiled servlet, it stays in memory and running, even if I change the code and compiled it again. Each time I want to change the code of the servlet I have to shutdown the servlet engine, compile the servlet and start the servlet engine again.
HOW TO PRESERVE THIS ?????
Is there any way to "unload" servlet while it is in memory.
I'm using Java 2 standard edition and JSWDK.
thanks in advance.
Dushan.
Re: How to "UNLOAD" a servlet ???
Normally servlet engines reload the servlet if the servlet class is changed. Or at least they give UI to reload servlet (e.g. in ServletExec, there is HTML UI for this).
JSDK doesn't support this feature. I am not sure about JSWDK, but it might also not support this feature.
I don't think there is anyway by which you can unload the servlet programatically. Also note that servlet engines will reload servlet ONLY IF servlet class is changed.
- UnicMan
http://members.tripod.com/unicman