RE: No Way to Put the init() Method Inside the ActionForward Execute( ... ) Method

2004-09-17 Thread Ryan Chichirico
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

Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
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

Re: Mixing convention plugin and legacy action mappings

2009-04-03 Thread Ryan Chichirico
/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&#x

Convention plugin with custom interceptor stack

2009-04-09 Thread Ryan Chichirico
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:

Re: Convention plugin with custom interceptor stack

2009-04-10 Thread Ryan Chichirico
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