diff options
Diffstat (limited to 'tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp')
-rw-r--r-- | tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp b/tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp deleted file mode 100644 index 7b0e3b344..000000000 --- a/tests/org.eclipse.jst.ws.tests/data/BUJava/client/EchoProxyTest.jsp +++ /dev/null @@ -1,38 +0,0 @@ -<%@ page contentType="text/html; charset=UTF-8" import="java.io.*" %> -<jsp:useBean id="echoProxy" class="foo.EchoProxy" scope="request"/> -<html> -<%@ include file = "/outputFilePath.jspf" %> -<% - // HTTP/POST parameter: - // testInput - the String argument to call the proxy with. - String testInput = request.getParameter("testInput"); - - // Execute the Web service. - String result = echoProxy.echoString(testInput); - - // Write the result to the outputFilePath. - PrintWriter pw = null; - try - { - pw = new PrintWriter(new FileOutputStream(outputFilePath)); - pw.print(result); - pw.flush(); - } - catch (Exception e) - { - } - finally - { - if (pw != null) - pw.close(); - } -%> -</body> -<p> -testInput: <%=testInput%> -<p> -outputFilePath: <%=outputFilePath%> -<p> -The result is <%=result%> -</body> -</html>
\ No newline at end of file |