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,
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
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