axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/utils Options.java
Date Tue, 20 Feb 2001 18:52:47 GMT
dug         01/02/20 10:52:46

  Modified:    java/src/org/apache/axis/utils Options.java
  Log:
  Minor bug fix in options processing
  
  Revision  Changes    Path
  1.2       +2 -0      xml-axis/java/src/org/apache/axis/utils/Options.java
  
  Index: Options.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/Options.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Options.java	2001/02/16 22:50:44	1.1
  +++ Options.java	2001/02/20 18:52:43	1.2
  @@ -240,6 +240,8 @@
       if ( host == null ) host = "localhost" ;
       if ( port == null ) port = "8080" ;
       if ( servlet == null ) servlet = "/axis/servlet/AxisServlet" ;
  +    else
  +      if ( servlet.charAt(0) != '/' ) servlet = "/" + servlet ;
   
       tmp = "http://" + host ;
       if ( port != null ) tmp += ":" + port ;
  
  
  

Mime
View raw message