My message didn't really include a "solution", since like I said, it's
not clear to me what you're trying to do.  :)

Hubert

On Mon, 21 Mar 2005 18:23:36 +0100, Gaet <[EMAIL PROTECTED]> wrote:
> Yes, I want to start a new cycle..but your solution seems to not work....
> 
> regards,
> 
> ----- Original Message -----
> From: "Hubert Rabago" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <user@struts.apache.org>
> Sent: Monday, March 21, 2005 5:59 PM
> Subject: Re: How to clear ActionForm before calling mapping.forward(...)???
> 
> > It's not exactly clear what you're trying to do.  After your action
> > executes, you just call the same action again.  With your forward path
> > set to /employeeDetail.do?reqCode=edit, the same request will go
> > through the same action, only this time there's an additional request
> > parameter.
> > Is it possible you meant to redirect to start a new request cycle?  If
> > so, change your forward to:
> >
> > >     <forward name="editNextEmployee"
> > > path="/employeeDetail.do?reqCode=edit" redirect="true"/>
> >
> > Hubert
> >
> > On Mon, 21 Mar 2005 17:50:22 +0100, Gaet <[EMAIL PROTECTED]> wrote:
> > > Hello the list!
> > >
> > > I have an action-mapping with a forward action that recall the same
> action
> > > mapping in order to display other informations.
> > > My problem is that my form is submitted and not cleared in my
> > > mapping.forward("editNextEmployee")!!!
> > >
> > > How to clear my form before to call the mapping.forward?
> > > Thanks
> > >
> > > Example of my struts-config.xml:
> > >
> > > <action path="/employeeDetail"
> > >         type="org.mycompany.EmployeeAction"
> > >         name="employeeForm"
> > >         validate="false"
> > >         parameter="reqCode"
> > >         scope="request">
> > >     <forward name="continue" path="/DnaSalarieDetail.jsp"/>
> > >     <forward name="back" path="/employeeList.do?reqCode=list"/>
> > >     <forward name="editNextEmployee"
> > > path="/employeeDetail.do?reqCode=edit"/>
> > > </action>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to