RE: Request Scope Lifetime Propagation

2003-10-15 Thread Wendy Smoak
John wrote:
 Is there anyway to propagate data from request to request? 
 That is I have some data used in one request (which renders a JSP) 
 which I want included into the next request. 
 The data in question is in the request scope and 
 is not really appropriate for the session scope (since they would 
 have to be cleaned-up if a user begins the request chain again).

Granted it may not be _appropriate_ for session scope, but is it going
to hurt anything there?  If it makes life easier, I'd put in session
scope.  A bit of cleanup code at the beginning of the process (some
session.removeAttribute() calls?) may be easier than dealing with hidden
form fields or parameters in the URL.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Request Scope Lifetime Propagation

2003-10-14 Thread John . Pitchko


BDY.RTF
Description: RTF file
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Request Scope Lifetime Propagation

2003-10-14 Thread David Graham

--- [EMAIL PROTECTED] wrote:
 Hello,
 
 Is there anyway to propagate data from request to request? That is I
 have some data used in one request (which renders a JSP) which I want
 included into the next request. The data in question is in the request
 scope and is not really appropriate for the session scope (since they
 would have to be cleaned-up if a user begins the request chain again).
 
 Any suggestions that avoid writing the data to the query string?

Hidden form fields.

David

 
 TIA
 
 John Pitchko
 Programmer/Analyst
 Downstream Marketing Systems - e-Business Group
 Shell Canada Limited
 
 
  -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Request Scope Lifetime Propagation

2003-10-14 Thread Wiebe de Jong
If you are using Validator, you could use a multi-page form.
http://jakarta.apache.org/struts/api/org/apache/struts/validator/ValidatorFo
rm.html

IMHO, one of the major gains of ValidatorForm over ActionForm is the 'page'
attribute, which will enable you to use one form over multiple pages.

Wiebe
http://frontierj.blogspot.com 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 14, 2003 11:36 AM
To: [EMAIL PROTECTED]
Subject: Request Scope Lifetime  Propagation

Hello,

Is there anyway to propagate data from request to request? That is I
have some data used in one request (which renders a JSP) which I want
included into the next request. The data in question is in the request
scope and is not really appropriate for the session scope (since they
would have to be cleaned-up if a user begins the request chain again).

Any suggestions that avoid writing the data to the query string?

TIA

John Pitchko
Programmer/Analyst
Downstream Marketing Systems - e-Business Group
Shell Canada Limited




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]