addendum to question. I meant to write that we do
return mapping.findForward("success");
not
return new ActionForward(mapping.findFoward("success"));
that was a typo
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 12:38 PM
To: [EMAIL PROTECTED]
Subject: redirection from an action/ refreshing page
After we have finished handling the form in our action, we forward the
request on to the next page using
return new ActionForward(mapping.findForward("success"));
where success is defined in the action in struts-config.xml using
<forward name="success" path="/successpage.jsp"/>
However, after the page has been forwarded, the URL displayed in the web
browser address page is the path to the previous action. Namely
<path to webapplication>/Save.do
even though we are on the successpage.jsp.
If this page is refreshed (using IE 5.5, haven't tried it on other
browsers), it prompts me for whether I want to resubmit the form. However,
there is no form on the successpage.jsp.
So, I am wondering, does anyone know how to prevent this from happening?
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>