cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rosenstrauch <dar...@dti.net>
Subject RE: Request attributes?
Date Wed, 05 Dec 2001 21:05:15 GMT
Excellent!  Just what I need.  Thanks for the info.


DR


At 05:47 PM 12/5/01 +0000, you wrote:
>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


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





>-----Original Message-----
>From: David Rosenstrauch [mailto:darose@dti.net] 
>Sent: 05 December 2001 17:14
>To: cocoon-users@xml.apache.org
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>---------------------------------------------------------------------
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org> 


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message