Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet instantiation

 
Smitha Amresh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks!!
Can anybody instantiate a servlet without the client request??

Thanks in advance.

Regards
Smitha A Parika
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set the "load-on-startup" option in your deployment descriptor which will cause them to be instanciated when the context is deployed.
 
Smitha Amresh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben, this piece of information is really helpful...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic