Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request dispatcher

 
Abdul Kalam
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic