struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: How to handle refresh
Date Mon, 21 Jun 2004 14:38:53 GMT
Hi Mike and Jacob,
                 Thanks a lot for your suggestions.
                 The one using tokens is working, so going ahead with it.


mike <> 
06/21/2004 08:01 PM

Please respond to
"Struts Users Mailing List" <>

"Struts Users Mailing List" <>, 'Struts Users 
Mailing List' <>

RE: How to handle refresh

Cool solution. +1

At 07:03 AM 6/21/2004, Hookom, Jacob wrote:
>Sorry, I mean write out a no cache http header... (too early in the
>-----Original Message-----
>From: Hookom, Jacob []
>Sent: Monday, June 21, 2004 8:41 AM
>To: 'Struts Users Mailing List'
>Subject: 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 
>the list action.  Then if they refresh, they will be refreshing the list
>Jacob Hookom
>Senior Analyst/Programmer
>McKesson Medical-Surgical
>-----Original Message-----
>From: []
>Sent: Monday, June 21, 2004 1:23 AM
>To: Struts Users Mailing List
>Subject: How to handle refresh
>Hi all,
>           We wish to customise the behaviour of IE refresh by just 
making it
>fetch the latest data from the db.
>           It works fine in list and edit screens where the last action 
was a
>           But if the user has previously saved a record, refresh causes 
>save action to be executed once again, contrary to what we wish to 
>           Is there any way in which we customise this behaviour?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:


View raw message