Re: How to handle refresh

2004-06-21 Thread mike
uhash > > >mike > >06/21/2004 12:02 PM >Please respond to >"Struts Users Mailing List" > >To >"Struts Users Mailing List" , "Struts Users >Mailing List" >cc >Subject >Re: How to handle refresh > > > > >This

RE: How to handle refresh

2004-06-21 Thread suhash . c
PROTECTED]> To "Struts Users Mailing List" <[EMAIL PROTECTED]>, 'Struts Users Mailing List' <[EMAIL PROTECTED]> cc Subject RE: How to handle refresh Cool solution. +1 At 07:03 AM 6/21/2004, Hookom, Jacob wrote: >Sorry, I mean write

RE: How to handle refresh

2004-06-21 Thread mike
t: RE: How to handle refresh Create two actions, a list action and a save action. In both cases, write out an no refresh http header - see Struts Config documentation for the controller element. When a user clicks save, post the data and on success or fail, REDIRECT to the list action. Then if th

Re: How to handle refresh

2004-06-21 Thread mike
]>, "Struts Users Mailing List" <[EMAIL PROTECTED]> cc Subject Re: How to handle refresh This is somewhat impossible to answer without more information, but the basic Idea is probably to not allow records to be saved with a refresh or a resubmittal of a form through the use of a

RE: How to handle refresh

2004-06-21 Thread Hookom, Jacob
Sorry, I mean write out a no cache http header... (too early in the morning). -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 8:41 AM To: 'Struts Users Mailing List' Subject: RE: How to handle refresh Create two actions, a list ac

RE: How to handle refresh

2004-06-21 Thread Hookom, Jacob
Create two actions, a list action and a save action. In both cases, write out an no refresh http header - see Struts Config documentation for the controller element. When a user clicks save, post the data and on success or fail, REDIRECT to the list action. Then if they refresh, they will

Re: How to handle refresh

2004-06-20 Thread suhash . c
mike <[EMAIL PROTECTED]> 06/21/2004 12:02 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL PROTECTED]>, "Struts Users Mailing List" <[EMAIL PROTECTED]> cc Subject Re: H

Re: How to handle refresh

2004-06-20 Thread mike
This is somewhat impossible to answer without more information, but the basic Idea is probably to not allow records to be saved with a refresh or a resubmittal of a form through the use of a token in your action classes. At 11:22 PM 6/20/2004, [EMAIL PROTECTED] wrote: Hi all, We wish t