aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes commiting response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "commiting response " Watch "commiting response " New topic
Author

commiting response

Sharath
Greenhorn

Joined: Oct 19, 2005
Posts: 28
Can someone tell me when will a response be commited exactly ?
dennis zined
Ranch Hand

Joined: Mar 07, 2003
Posts: 330
According to Hanumant Deshmukh, et al. book, it is committed after calling the flush method of the PrintWriter object.

On a different note, the book mentioned that calling the sendRedirect method after a response has been committed will throw an IllegalStateException. I tried that and it did not throw any exception. It just did not redirect.



SCJP 1.4<br />SCWCD 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: commiting response
 
Similar Threads
do companies keep record of interviewee
SCJP, what next?
Onsite offers in IT companies Vs MNCs
enterprisse portal matket ...mtree
WA #1.....word association