Hello, It's pretty cool that you can register an AbstractServerListener class that receives startup and shutdown events from Resin. But what I would like to do is access the init-params of a specific web application. I can get to the ApplicationAdmin instance for the web application in question, but how can I get the Application instance from that one or how would I otherwise obtain that instance? If anyone could help me with this one, I would be grateful! Thanks in advance. Micha.
Micha Anonymous, We don't have many rules at Javaranch, but our display name policy is one of them. Please read this policy and change your display name to comply with it if you wish to continue posting. Thanks. You can change your display name here.
Are you sure that listening for the startup events is the right way to do this? If you mark a servlet as "load on startup" it is guaranteed to be started when the container starts. Such a servlet can get access to all the init parameters from its application. Can you explain a little more about what you need to do ?