This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Starting a web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Starting a web application" Watch "Starting a web application" New topic
Author

Starting a web application

ravinderSingh singh
Ranch Hand

Joined: Nov 18, 2004
Posts: 41
Hi,

Is there any way my web application can be notified of when it is started, so that it can initialise itself?

Maybe there's some kind of listener interface?

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63195
    
  69

Yes, javax.servlet.ServletContextListener.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: Starting a web application
 
It's not a secret anymore!