This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply 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: 56540
    
  14

Yes, javax.servlet.ServletContextListener.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting a web application
 
Similar Threads
file upload help required
Print pdf file without opening.
taglib location
need help regarding ip address used in establishing connection using jdbc
Default servlet context