java - initialize ServletContext using a method on a Resin server -


Is there a way to start ServletContext for a webpage on a Ralin server using a method? I need something that runs once, when the server starts.

You get a ServletContextListener .

This J2EE tip shows the use of Savlevate Constantststerner. This event class handles information about the changes in the servlet context of the web application, which is their share. It can be explained that someone is present on the server and dynamically informs us about upcoming events on the server. It requires authors, therefore, the Serpentacentileistner is helpful in conveying information about intrusion and destruction.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -