axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r154122 - webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/http/AxisServlet.java
Date Thu, 17 Feb 2005 04:11:19 GMT
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";
 



Mime
View raw message