struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Taylor" <rtay...@mulework.com>
Subject RE: Global Forwards & Request Attributes
Date Tue, 16 Sep 2003 16:28:20 GMT
When you redirect the request, you lose any existing attributes.
If you must redirect then you could append your String value as 
a request parameter to the forward path or... you could simply
forward instead of redirect.

robert

> -----Original Message-----
> From: Pat Quinn [mailto:pat_quinn2009@hotmail.com]
> Sent: Tuesday, September 16, 2003 12:10 PM
> To: struts-user@jakarta.apache.org
> Subject: Global Forwards & Request Attributes
> 
> 
> I have a struts action which sets a String value as an attribute in the 
> request scope i then redirect to a global forward. But the value never 
> appears in my jsp i'm using the <c:out/> tag lib.
> 
> 
> Any ideas what i could be doing wrong here or do global forwards support 
> request attribute population??
> 
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

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


Mime
View raw message