Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

How to Load/Unload Servlet

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic