user  

Re: [S2] Adding objects to application context at the application startup

Dave Newton
Thu, 04 Sep 2008 05:13:43 -0700

--- On Thu, 9/4/08, ManiKanta G wrote:
> How to add an object at the Struts2 based application startup?
> 
> And what is the best way to process some logic while S2
> application startup, like parsing XML and storing it in 
> the application context for further processing in the 
> later actions?

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]