This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes Request dispatcher 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 dispatcher" Watch "Request dispatcher" New topic

Request dispatcher

Abdul Kalam

Joined: May 28, 2001
Posts: 5
As per the spec we cannot set any headers in the include method of a request dispatcher in the called servlet from calling servlet but if i say response.sendRedirect in the called servlet then the location header is set and the client again makes a response to the server so whats actually happening.

Abdul Kalam
subject: Request dispatcher
jQuery in Action, 3rd edition