File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes request's lifespan in forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request Watch "request New topic
Author

request's lifespan in forward

Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Hi, I am confused about request's life span in RequestDispatcher.forward(req, res). My impression is that request dies just prior to forward(req, res)? If so, what about the request passed as parameter to forward()?

Thanks.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by Cameron Park:
My impression is that request dies just prior to forward(req, res)?

It doesn't...
- Peter

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: request's lifespan in forward
 
It's not a secret anymore!