gdaniels 02/04/11 16:28:01 Modified: java/src/org/apache/axis/transport/http AxisServlet.java Log: JWS mappings will have pathInfo=="", so make sure we catch them. Revision Changes Path 1.92 +3 -2 xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java Index: AxisServlet.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v retrieving revision 1.91 retrieving revision 1.92 diff -u -r1.91 -r1.92 --- AxisServlet.java 29 Mar 2002 00:01:26 -0000 1.91 +++ AxisServlet.java 11 Apr 2002 23:28:01 -0000 1.92 @@ -233,7 +233,9 @@ msgContext.setProperty(Constants.MC_HOME_DIR, homeDir); String pathInfo = req.getPathInfo(); - if (pathInfo == null || pathInfo.equals("")) { + String realpath = context.getRealPath(req.getServletPath()); + if ((pathInfo == null || pathInfo.equals("")) && + !realpath.endsWith(".jws")) { res.setContentType("text/html"); writer.println("<h2>And now... Some Services</h2>"); Iterator i = engine.getConfig().getDeployedServices(); @@ -255,7 +257,6 @@ return; } - String realpath = context.getRealPath(req.getServletPath()); String configPath = webInfPath; if (realpath != null) { msgContext.setProperty(Constants.MC_RELATIVE_PATH,
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... butek
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... dims
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... butek
- RE: cvs commit: xml-axis/java/src/org/apache/axis/transport... Glen Daniels
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... butek
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... gdaniels
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... tomj
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... rsitze
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... rsitze
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... tomj
- Re: cvs commit: xml-axis/java/src/org/apache/axis/tran... Steve Loughran
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... rsitze
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... rsitze
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... rsitze
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... rsitze
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... rsitze