aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Request dispatcher" Watch "Request dispatcher" New topic
Author

Request dispatcher

Abdul Kalam
Greenhorn

Joined: May 28, 2001
Posts: 5
hi,
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.
bye


Abdul Kalam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Request dispatcher