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

Startup steps

 
Lalit mishra
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What is a startup steps for a web-application when i have a filters listners and load-on-startup 1 for the servlet and ServletContextListener.

Thanks,
Lalit M.
 
Yoshita Jain
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Goes like this:

Listeners in the are instantiated.
contextInitialized method on the ServletContextListener implementor called.
Filters initialized.
Servlet loaded. (if you have only one servlet with load on startup value as 1, it really doesn't matter... you've got just one servlet to load anyway)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic