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]