wood burning stoves*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in Request Dispatcher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt in Request Dispatcher" Watch "Doubt in Request Dispatcher" New topic
Author

Doubt in Request Dispatcher

Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
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.


when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Vikrant Pandit
Ranch Hand

Joined: Mar 27, 2006
Posts: 245
The specification further says that any attempts to set the headers by included jsp or servlet should be ignored .


Vikrant Pandit
 
wood burning stoves
 
subject: Doubt in Request Dispatcher
 
Similar Threads
Example of setting headers
question about RequestDispatcher
Adding headers
How come no response getHeader
Can anybody help to getrid of this error?