struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schuster Joel M Contr ESC/NDC <Joel.Schus...@CISF.AF.MIL>
Subject RE: Correct Prepopulate Method
Date Thu, 17 Mar 2005 21:19:47 GMT
Thanks, that makes sense. 

> -----Original Message-----
> From: Jeff Beal [mailto:jbbeal@gmail.com] 
> Sent: Thursday, March 17, 2005 2:07 PM
> To: Struts Users Mailing List
> Subject: Re: Correct Prepopulate Method
> 
> With redirect="true", Struts sends an HTTP redirect command 
> to the browser, which then makes a request directly to the 
> JSP page.  That means that your action and your JSP page are 
> in two *different* requests.  Thus, anything that your Action 
> placed into request scope is gone.
> 
> (I'm surprised that nobody earlier in the thread asked you to 
> look at this.  It's almost *always* the culprit in this sort 
> of problem.)
> 
> 
> On Thu, 17 Mar 2005 10:19:35 -0700, Schuster Joel M Contr 
> ESC/NDC <Joel.Schuster@cisf.af.mil> wrote:
> 
> > Like I said, I'm not really sure why the redirect = "true" 
> would give 
> > me problems, but as soon as I changed it to false everything worked.
> > 
> > Thanks for all of your patience reading all this.
> > 
> 
> --
> Jeff Beal
> Webmedx, Inc.
> Pittsburgh, PA USA
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message