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 Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Request Dispatcher

 
Senthil Kumar
Ranch Hand
Posts: 264
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In Spec SRV 8.3 it is given that " The target servlet of the include method has access to all aspects of the request object, but its use of the response object is more limited.t cannot set headers or call any method that affects
the headers of the response."

whereas i'm able to set the Headers in the target servlet.How is this possible.
 
Vikrant Pandit
Ranch Hand
Posts: 245
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The specification further says that any attempts to set the headers by included jsp or servlet should be ignored .
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic