Application startup + shutdown global methods
Hi all.
What I want to do is have a global method which runs when the application starts up and one that runs when the application shuts down.
I presumed the ApplicationBean1 constructor fulfilled the application-wide startup but it does not run at startup.
What I also tried doing is making a new Servlet class and adding my code to its init() method. I then added the servlet to the xml file with the load-on-startup parameter as '1'. The servlet did not run at startup.
Can anyone help? Surely to goodness there is a global 'start' method somewhere, I mean what do you do if you need startup code but don't know which .jsp will be hit first?
Thanks
John

