-Original Message-
From: Anjib Mulepati [mailto:anji...@hotmail.com]
Sent: Friday, November 18, 2011 2:55 PM
To: Struts Users Mailing List
Subject: Servlet init() equivalent in Struts 1.3.8
Hi All,
I am trying to put some database configuration code in the Struts
application. This is the c
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
Hi All,
I am trying to put some database configuration code in the Struts
application. This is the code for loading context parameter, configure
database parameter and locate the service.
Usually we put this code in init() method of servlet but I am confuse
where I can put this piece of code
3 matches
Mail list logo