--- Begin Message ---HI All, "Another nuance, which I find comes in handy quite often, is that responding to a form submit with a redirect will prevent the browser from offering to re-post the parameters for the user." Even I observed this..This is very much useful..But, I dont understand why the form values are not updated in case of redirect.Can you please throw some light on this?? Thanks and Regards VasudevRaoGupta-----Original Message----- From: Steven J. Owens [mailto:[EMAIL PROTECTED] Sent: Fri 4/16/2004 6:37 AM To: Struts Users Mailing List Cc: Subject: Re: what is the difference between forward and redirect? On Thu, Apr 15, 2004 at 04:33:42PM -0700, Craig McClanahan wrote: > Christian Bollmeyer wrote: > >1. You've reached the end of a processing chain > >and want to leave the user at a determined > >application state, a point from which he may > >start another interaction with the application, > >but everything else is done and finished. > >Such as redirecting to the starting page > >after a 'wizard' has completed. > > A variation on this same theme is if you want to leave the user a point > at which they can save a bookmark to this spot in your application, you > need to use a redirect. Otherwise, the URL being bookmarked will not be > correct (it will be the URL to which the last form submit occurred, > rather than the page being displayed). Another nuance, which I find comes in handy quite often, is that responding to a form submit with a redirect will prevent the browser from offering to re-post the parameters for the user. -- Steven J. Owens [EMAIL PROTECTED] "I'm going to make broad, sweeping generalizations and strong, declarative statements, because otherwise I'll be here all night and this document will be four times longer and much less fun to read. Take it all with a grain of salt." - Me at http://darksleep.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]<<winmail.dat>>
--- End Message ---
Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]