Author: darran.lofthouse(a)jboss.com
Date: 2006-12-04 10:01:07 -0500 (Mon, 04 Dec 2006)
New Revision: 1547
Modified:
trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java
Log:
JBWS-1093 - Fixed test case
Modified: trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java 2006-12-04
14:50:24 UTC (rev 1546)
+++ trunk/src/test/java/org/jboss/test/ws/jaxrpc/jbws1093/ServletTest.java 2006-12-04
15:01:07 UTC (rev 1547)
@@ -22,9 +22,9 @@
package org.jboss.test.ws.jaxrpc.jbws1093;
import java.io.IOException;
+import java.io.PrintWriter;
import javax.servlet.ServletException;
-import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@@ -45,8 +45,8 @@
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException
{
- ServletOutputStream sos = response.getOutputStream();
- sos.println(MESSAGE);
+ PrintWriter writer = response.getWriter();
+ writer.println(MESSAGE);
}
}
Show replies by date