Yes, I believe, they relate to the underlying javax.servlet.ServletRequest
attributes.

Use them for whatever takes your fancy.

See the Servlet Spec/API for more details



-----Original Message-----
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] 
Sent: 05 December 2001 17:14
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)
)


TIA!

DR


---------------------------------------------------------------------
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]>

---------------------------------------------------------------------
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