You should ALWAYS use an action to display a page. I know lot it looks simplier to use 
JSP URL instead of defining a new
action in struts-config... But in your case you see that not using the controler 
brings you to duplicate submit
problems.

Nico.


> I'm trying to prevent the user from submitting a form and then doing a
> refresh and unknowingly submitting it twice.  I've read the about Struts
> support for tokens, and I understand how to use it when an action is called
> before the form is displayed.  But in my case no action is called before the
> form is displayed and I don't know where to call saveToken(request).  Is it
> possible to use a token in this situation?  If not is there another approach
> I can use?
>
> Michael
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to