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
07, 2004 5:44 PM >To: Tomcat Users List >Subject: HttpServletResponse.setStatus and setContentType > >I have a standard HTTP servlet acting as an XML web service endpoint, >running on an embedded Tomcat 5.0.30. > >I of course use HttpServletResponse.setContentType to specify t

HttpServletResponse.setStatus and setContentType

2004-12-07 Thread Dunlop, Aaron
I have a standard HTTP servlet acting as an XML web service endpoint, running on an embedded Tomcat 5.0.30. I of course use HttpServletResponse.setContentType to specify that the response is "text/xml". When the request is successful and I set a 2xx HTTP response code, the Content-Type header