jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet instantiation" Watch "servlet instantiation" New topic
Author

servlet instantiation

Smitha Amresh
Greenhorn

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

Thanks in advance.

Regards
Smitha A Parika
Ben Souther
Sheriff

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
Greenhorn

Joined: Jun 13, 2005
Posts: 6
Thanks Ben, this piece of information is really helpful...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet instantiation
 
Similar Threads
Capturing Form Data
javascript, servlets and SVG
Export in Excel
How can I change the sdk version of Websphere 4 if I already install it
Is there any way to get Servlet Init Parameter using EL?