Why don't you modify your homeReview action to add
a forward to seReview. For example:
<forward name="seReview" path="/seReview.do"/>
Then in you homeReview Action class you can do:
return mapping.findForward("seReview");
In your actionclass you want to forward to a .jsp,
or you get an infinite loop. In your action class,
if you want to forward to another action class
you forward to a .do.
Hope this helps.
-- Larry Maturo
-----Original Message-----
From: Rodrigo Zerlotti [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 12:23 PM
To: [EMAIL PROTECTED]
Subject: changing the Action
Importance: High
can someone helping me on the steps necessary to forward the request to
another action?
Suppose I have:
<action
path="/homeReview"
type="homeReviewAction"
name="reviewForm"
scope="request"
validate="false">
<forward name="success" path="/review.jsp"/>
</action>
<action
path="/seReview"
type="seReviewAction"
name="reviewForm"
scope="request"
validate="false">
<forward name="success" path="/forecastReview.jsp"/>
</action>
and I have a html:form action=/homeReview.do
Inside my homeReviewAction, I need (in some cases) forward the whole request
to seReviewAction, just like the mapping on /seReview.do. notice that they
use the same form and I want to use the same params...
Ideas?
---------
Regards,
Rod~