You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by aj...@apache.org on 2005/02/17 05:11:19 UTC

svn commit: r154122 - webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java

Author: ajith
Date: Wed Feb 16 20:11:19 2005
New Revision: 154122

URL: http://svn.apache.org/viewcvs?view=rev&rev=154122
Log:
Modified the servlet

Modified:
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java?view=diff&r1=154121&r2=154122
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java Wed Feb 16 20:11:19 2005
@@ -67,6 +67,10 @@
         }
     }
 
+    protected void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
+        doPost(httpServletRequest,httpServletResponse);
+    }
+
     /* (non-Javadoc)
     * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     */
@@ -121,7 +125,7 @@
 
     }
 
-
+    //todo this neeeds to be re-written as a JSP
     private void listServices(HttpServletResponse res) throws IOException {
         HashMap services = engineRegistry.getServices();
         HashMap operations;
@@ -131,7 +135,9 @@
         PrintWriter out = res.getWriter();
         res.setContentType("text/html");
         String html = "<HTML>\n" +
-                "<HEAD><TITLE>Avalilable services</TITLE></HEAD>\n" +
+                "<HEAD><TITLE>Avalilable services</TITLE>" +
+                "<link href=\"css/axis-style.css\" rel=\"stylesheet\" type=\"text/css\">" +
+                "</HEAD>\n" +
                 "<BODY>\n" +
                 "<H1>Avalilable services</H1>\n";