aspose file tools*
The moose likes Servlets and the fly likes ServletRequest.getAttribute() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "ServletRequest.getAttribute()" Watch "ServletRequest.getAttribute()" New topic
Author

ServletRequest.getAttribute()

Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Hi, I was wondering at what stage was attributes in ServletRequest.getAttribute() specified?
Thank you.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by Cameron Park:
Hi, I was wondering at what stage was attributes in ServletRequest.getAttribute() specified?

They are important when you are chaining servlets/JSPs using forwarding or inclusion. Then you can use the request attributes to pass objects from one servlet/page to the other (e.g. request-scoped JavaBeans).
- Peter
Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Oh..I see. Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ServletRequest.getAttribute()