| Author |
Setting response headers before returning content
|
Satish Kota
Ranch Hand
Joined: Feb 08, 2006
Posts: 88
|
|
|
Why is it necessary to set response headers before returning the content using PrintWriter object ?
|
SCJP 5.0 77%
|
 |
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
|
|
|
If you look at the http protocol , you will find that the headers appear before the body and are seperated by a blank line.
|
Rahul Bhattacharjee
LinkedIn - Blog
|
 |
 |
|
|
subject: Setting response headers before returning content
|
|
|