> -----Original Message-----
> From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, December 05, 2001 12:14 PM
> To: [EMAIL PROTECTED]
> Subject: Request attributes?
> 
> 
> A bit confused.
> 
> Looking at org.apache.cocoon.environment.Request (basically 
> it's just a ServletRequest object).  I see that a Request has 
> both parameters and attributes.
> 
> I know what request parameters are.  These are the form 
> values in your HTML form that get submitted to the servlet.
> 
> But what are request attributes?   I don't know how it works 
> elsewhere, but at least with Cocoon these seem to always be empty.
> 
> 1) What are they for?
> 
> 2) Am I allowed to use these for my own personal use; i.e., 
> as sort of a temporary storage area?  (e.g., 
> request.setAttribute(String name, Object o) )
> 

Request attributes are indeed used for storage of your own objects,
particularly when forwarding the request for further processing.

WBB



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to