This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: request's lifespan in forward
 
Similar Threads
Can I forward a local variable to another servlet?
best approach
difference b/w forward & sendRedirect
RequestDispatcher
Which kind(POST/GET) of request is used for JSp