aspose file tools
The moose likes Servlets and the fly likes servlet instantiation 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 » Servlets
Bookmark "servlet instantiation" Watch "servlet instantiation" New topic

servlet instantiation

Smitha Amresh

Joined: Jun 13, 2005
Posts: 6
Hi Folks!!
Can anybody instantiate a servlet without the client request??

Thanks in advance.

Smitha A Parika
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

You can set the "load-on-startup" option in your deployment descriptor which will cause them to be instanciated when the context is deployed.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Smitha Amresh

Joined: Jun 13, 2005
Posts: 6
Thanks Ben, this piece of information is really helpful...
Have you tried LearnNowOnline?
subject: servlet instantiation