Thank you Ray. It works great. I was thinking far to complicated to even
consider this.
Ray Clough wrote:
The S1 action can be mapped to a S2-url. This is a redirect, not a forward.
Something like this:
<action path="/BookACruise"
type="SomeS1ActionClass" >
<forward name="success" path="/someS2Action.action" />
</action>
Or you can try a simple 'forward action':
<action
path="/SomeS1ActionName"
type="org.apache.struts.actions.ForwardAction"
parameter="someS2Action.action" />
Information can be passed in the session, or attached to the url.
- Ray Clough
----- Original Message -----
From: Rubbinio <[EMAIL PROTECTED]>
To: user@struts.apache.org
Subject: Mixing Struts 1 and Struts 2
Date: Tue, 18 Dec 2007 06:08:23 -0800 (PST)
Hi,
we have a fairly tricky question. We have a Struts 1 application which is
very big. We do not have the time to migrate it all to Struts 2 so we want
to do it step by step. We run into a situation in which we want to have a
Struts 1 Action class forward to a Struts 2 action. Is this possible in any
way ? I tried to search and look for an answer but could not find one. Any
suggestions are appreciated.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Mixing-Struts-1-and-Struts-2-tp14397614p14397614.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Ray Clough
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]