You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hubert Rabago <ja...@yahoo.com> on 2004/03/05 16:53:19 UTC
Re: Real URL in action forward
Try redirecting to getOperations.do. A redirect tells the browser to send
another request. This way, the browser is aware of what it's viewing, and as
a bonus you won't have to couple/chain your saveXXX and getXXX actions.
hth,
Hubert
--- Julio Cesar De Salvo <jd...@itechnology.com.ar> wrote:
> Hi, my question is:
> I have a form that sends some
> information to store in the database to a saveOperation.do action class.
> Then this action forwards to another action getOperations.do to get the
> list of operations, and this action returns to the jsp for viewing.
>
> But when the jsp is displayed the
> URL path does not show: getOperations.do instead it shows
> saveOperation.do so when I refresh the form is resubmitted.
>
> Any ideas how to get this working?
>
> Thanks, Julio
>
>
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org