You could create these objects at startup via a Listener (defined in web.xml)
and available as part of the ServletContext as attributes.
You could also wire them together via Spring and gain access via Spring's
WebApplicationContext (I think that's what it's called).
Eric
-Original Message
You can use your own Struts2 FilterDispatcher to solve this.
Like this Example which is loading Configs via an SpringDAO and put it into
the Application Scope:
public class FilterDispatcher extends StrutsPrepareAndExecuteFilter {
private static final Log log = LogFactory.getLog(FilterDispatcher
2 matches
Mail list logo