At 11:07 AM -0800 3/30/06, Don Brown wrote:
Sure, a custom ActionInvocation instance could even invoke a Struts
Action as is. The question is how you handle ActionForms. Do you
implement the Struts request processing chain as Interceptors? Add
an Interceptor that calls a chain? Action 2 already has the
DefaultWorkflowInterceptor which defines the basic validation
workflow, so it would be easy to create one that implemented a
Struts 1.x workflow.
My idea was to implement the Struts RP chain as interceptors. I
haven't gotten too far on this, but that's the motivation behind my
interest in factoring out the Struts initialization from
ActionServlet into a ServletContextListener.
Bug 39040 - Refactor Struts initialization to ServletContextListener
http://issues.apache.org/bugzilla/show_bug.cgi?id=39040
I haven't gotten very far on this, but if a few of us are thinking
about variations on this, now's the time for level-setting.
Again, we've kinda started down this path in the sandbox. Take a
look at that code and see if you can find anything that might be
helpful. This is exactly the type of migration library we had in
mind for our first release, so your help will be big.
I haven't yet had a chance to look at this myself.
Joe
--
Joe Germuska
[EMAIL PROTECTED] * http://blog.germuska.com
"You really can't burn anything out by trying something new, and
even if you can burn it out, it can be fixed. Try something new."
-- Robert Moog
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]