This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Load/Unload Servlet

 
Vicky Nag
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to load and unload a servlet programitacally..
The idea is to have a servlet which will be alive and load/unload another servlet whenever required.
Help Please
Regards
Vicky
SCJP 1.4
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Strictly, one servlet does not have the ability to "load" or "unload" another. However, I'm not sure that "load" and "unload" are actually what you need anyway. I've never yet met an application that needed to do this sort of thing - there has always been a "standards compliant" way of achieving the desired result without messing with loading classes.
Can you explain a bit more about what you want the behaviour of your application to be bothe befor and after the point where you plan to you "load" or "unload" a servlet?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic