Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

load on startup for 2servlets?

 
praneeth ram
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have one doubt please clarify it.
if i configured <load-on-startup>1</load-on-startup> for two servlets in web.xml which servlet will load first.
what will happens in this situation for these two servlets.

Thanks,
Praneeth Kumar
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlets will load in order you declared in deployment descriptor.
 
praneeth ram
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shailesh, i am very cleared with your reply. Really thank you for fast response.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic