Why not write an InitServlet that is set to initialize prior to the struts
ActionServlet in web.xml? This could override the init() method and provide
the services you need.
>From web.xml
init
com.xxx.xxx.servlet.InitServlet
log4jProperties
conf/log4
We've recently migrated to Struts 2.1.6 and started looking into the
convention plugin. Since our application is far along the 2.0.x way of
doing things it's difficult to make whole sale changes immediately.
We'd like to start introducing new features with the convention plugin
and slowly ada
/hello and /test/hello.action
Thanks for your quick response.
-Ryan
Musachy Barroso wrote:
Convention configuration just gets mixed with xml configuration, they
should not conflict. What kind of problem are you having?
musachy
On Fri, Apr 3, 2009 at 12:52 PM, Ryan Chichirico wrote:
We
Can someone help me understand how to use custom interceptors with the
convention plugin?
In my struts.xml I have:
Currently, we use a package via XML config and it works as expected:
you really need
your actions to be on a different package, you can create a new one in
xml, that extends the one that contains the interceptor, and use
@ParentPackage to point to it.
does that make some sense?
musachy
On Thu, Apr 9, 2009 at 5:39 PM, Ryan Chichirico
wrote:
Can someone help me understa
5 matches
Mail list logo