• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Request Dispatcher

 
Senthil Kumar
Ranch Hand
Posts: 264
  • 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
  • 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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic