RE: HttpServletResponse.setStatus and setContentType (solved)

2004-12-14 Thread Dunlop, Aaron
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

RE: HttpServletResponse.setStatus and setContentType

2004-12-08 Thread Dunlop, Aaron
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,

RE: HttpServletResponse.setStatus and setContentType

2004-12-08 Thread Shapira, Yoav
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