Right now I'm "forwarding" to a JSP that does nothing but redirects to the
URL I want them to see (basically what you said).  I would love to hear
better solutions as well.

Bear wrote:

> I'm just in the process of re-vamping my web app to use the Struts
> framework (moving from a Model 1 to a Model 2 architecture) and have come
> across what I see as a fundamental problem that I'm sure is just something
> I must be missing.
>
> The result of an action submission from a form is obviously a post
> operation. When the resulting JSP page shows the result of the action, the
> URL still shows the "command.do" form of the URL. That's not the problem
> though. If the user then refreshes the page, he/she gets the "do you want
> to repost" message (annoying), but worse, the post operation is
> resubmitted. For a destructive operation (like a delete) this could cause
> lots of problems for my app.
>
> Aside from forcing the ActionForward to be a redirect rather than a
> forward, how have y'all handled this situation?
>
> thanks,
> bear

Reply via email to