• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create servlet object immediately when we start server

 
Praveen palukuri
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pls reply to this mail

Thank you
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34073
335
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set it in the deployment descriptor.
 
Rajesh Agarwal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a <load-on-startup>1</load-on-startup>
tag. Check more info on this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic