struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: [S2] Adding objects to application context at the application startup
Date Thu, 04 Sep 2008 12:13:07 GMT
--- 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message