Hello:

When I set up a form in struts, I am using this action
mapping:

    <action path="/registerForm"
            type="register.RegisterAction"
            name="registerForm"
            scope="request"
            input="register.index"
            validate="true">
      <forward name="success" path="register.success"/>
    </action>

When the form is posted successfully, the user is forwarded
to a page that says their information was entered successfully.

Unfortunately, if they hit reload on that page, it will re-execute
the form and their data will be posted again.

To get around this, I use a redirect instead of forward in many
of my apps.

Is there a way to do that within struts?

Thanks,
        Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com


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

Reply via email to