Hi Mike and Jacob,
Thanks a lot for your suggestions.
The one using tokens is working, so going ahead with it.
Thanks,
Suhash
mike <[EMAIL PROTECTED]>
06/21/2004 08:01 PM
|
|
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
>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 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 be refreshing the list
>action.
>
>
>
>Jacob Hookom
>
>Senior Analyst/Programmer
>
>McKesson Medical-Surgical
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>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
>fetch.
> But if the user has previously saved a record, refresh causes the
>save action to be executed once again, contrary to what we wish to achieve.
> Is there any way in which we customise this behaviour?
>
>
>TIA,
>
>Suhash
>
>
>---------------------------------------------------------------------
>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]
ForwardSourceID:NT000057B6
DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]