My servlets use formatting templates which output HTML to the browser.
Unfortunately, I get a broken pipe exception right after they're done
outputting their HTML. What I don't get is that this happens right AFTER they
are done. There is a function that does the following:
public void outputHTML( Some parameters) {
try {
//Output lots of HTML, then end with
out.println("</BODY></HTML>");
} catch (Exception E) {
//This is where the exception is caught
}
}
The thing which confuses me is that the exception is triggered after all the
HTML is output. Both the </BODY> and </HTML> tags make it out to the
browser, but a Broken pipe exception is triggered immediately thereafter such
that it is caught just below this line.
Can anyone please suggest how to fix this?
-Tim
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]