my dog learned polymorphism
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes How servlet response is commited? 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)
Reply locked New topic

How servlet response is commited?

swapnil dangore
Ranch Hand

Joined: Jun 05, 2006
Posts: 46
Hi all,
Could anybody tell me,how response is commited in servlet?Also I wan to know how calling sendRedirect() on servletResponse throws illegalStateexception after response is commited?
It will be greate , if you can explain it with a code snippet.Any typing mistakes , please ignore.

Thanks in advance

Cheers<br />-------------<br />Swapnil<br /> <br />SCJP5-81%<br /> <br />"Dictionary is the only place where Success come before Work"
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Please no not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread in the Servlets forum, where it's a much better fit.
I agree. Here's the link:
subject: How servlet response is commited?
jQuery in Action, 3rd edition