aspose file tools*
The moose likes Servlets and the fly likes Cookie/Header Doubt 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 » Java » Servlets
Bookmark "Cookie/Header Doubt" Watch "Cookie/Header Doubt" New topic
Author

Cookie/Header Doubt

N S Raju
Greenhorn

Joined: Apr 23, 2004
Posts: 6
Hai All,
I was trying this code in a servlets doGet method
//--

Doubt 1: Can we add Header After we commit the response ?
Doubt 2: We know that addCookie stmt sends cookie as a Response header,
The stmt in line 2 (when uncommented) does not create a cookie but line 1 does , how is this possible ?

thanks in advance
Surya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookie/Header Doubt
 
Similar Threads
GC Doubt
Doubt........
Cookie Doubt !!
A doubt in Cookie
Doubt about header