Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Beginning Java and the fly likes servlet unloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "servlet unloading" Watch "servlet unloading" New topic

servlet unloading

rajeev holkar

Joined: Sep 13, 2000
Posts: 21
What are the various ways to unload a servlet?
more simply, when a servlet is called, it is loaded by the web server, the required method is called and after that the servlet is unloaded.
So again, what are the various ways to unload a servlet??
Steve Fahlbusch

Joined: Sep 18, 2000
Posts: 591

I don't know of a way to do this from the servlet. This is
usually a function of the web server - most servers will
cache sevlets for a period of time ~20 seconds or so, but
it can be changed by the web server.
Some web servers allow for servlets to attach to the web
server API and allow for the servlet to control when it is
to be unloaded.
Have you tried LearnNowOnline?
subject: servlet unloading