etResponse.getWriter());
servletResponse.getWriter().close();
Hope that helps anyone else with a similar issue.
Aaron Dunlop
-Original Message-
From: Dunlop, Aaron
Sent: Wednesday, December 08, 2004 9:53 AM
To: Tomcat Users List
Subject: RE: HttpServletResponse.setStatus and setContentType
Thanks for the sugges
and see how they handle it. But any
suggestions would be welcome.
Thanks again,
Aaron Dunlop
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 5:59 AM
To: Tomcat Users List
Subject: RE: HttpServletResponse.setStatus and setContentType
Hi,
Hi,
You know, the JavaDoc for HttpServletResponse#setStatus is pretty clear
on this ;) Use sendError for errors, setStatus for normal responses.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Dunlop, Aaron [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, December 07, 2004