Request variables are not lost unless you set
redirect=true in your [editService] mapping, or
construct an ActionForward from scratch, setting
redirect=true.

--- Alex Winston <[EMAIL PROTECTED]> wrote:
> My apologizes for yet another thread on action
> chaining, but I am in a
> bit of a pickle, and the archives have been of
> little help.
> 
> I have the following struts configuration, modified
> for brevity.
> 
> <form-bean name="serviceForm"
>               type="org.apache.struts.action.DynaActionForm">
>       <form-property name="id" type="java.lang.String"/>
>       <form-property name="name"
> type="java.lang.String"/>
>       <form-property name="type"
> type="java.lang.String"/>
>       <form-property name="description"
> type="java.lang.String"/>
> </form-bean>
> 
> <action path="/editService"
>       
>
type="com.christianity.dashboard.struts.action.manager.EditService"
>               name="serviceForm"
>               scope="request"
>               validate="false">
>       <forward name="view" path="/jsp/editService.jsp"/>
> </action>
> 
> <action path="/createAspect"
>       
>
type="com.christianity.dashboard.struts.action.manager.CreateAspect"
>               name="aspectForm"
>               scope="request"
>               validate="false">
>       <forward name="view" path="/editService.do"/>
> </action>
> 
> 
> The problem occurs when I forward from createAspect
> to editService after
> setting request variables. I am setting attributes
> of the serviceForm in
> the request within createAspects execute method, but
> unfortunately no
> values are set when editService checks the
> serviceForm DynaActionForm
> within its execute method.  Am I incorrect in
> assuming that this is
> possible, and if not what am I missing?  Are request
> variables lost when
> forwarding to another action?
> 
> Thanks
> Alex
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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

Reply via email to