axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsi...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http AxisServlet.java
Date Thu, 09 May 2002 18:31:58 GMT
rsitze      02/05/09 11:31:58

  Modified:    java/src/org/apache/axis/transport/http AxisServlet.java
  Log:
  Replace string literal with string constant.
  
  Revision  Changes    Path
  1.99      +4 -4      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.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- AxisServlet.java	6 May 2002 19:41:47 -0000	1.98
  +++ AxisServlet.java	9 May 2002 18:31:58 -0000	1.99
  @@ -193,11 +193,11 @@
                   getServerEngineConfig();
   
               Map environment = new HashMap();
  -            environment.put("servletContext", context);
  -            String attdir= servlet.getInitParameter("axis.attachments.Directory");
  -            if(attdir != null) environment.put("axis.attachments.Directory",  attdir);
  +            environment.put(AxisEngine.ENV_SERVLET_CONTEXT, context);
  +            String attdir= servlet.getInitParameter(AxisEngine.ENV_ATTACHMENT_DIR);
  +            if(attdir != null) environment.put(AxisEngine.ENV_ATTACHMENT_DIR, attdir);
               if(null != webInfPath){
  -                environment.put("servlet.realpath",  webInfPath + File.separator + "attachments");
  +                environment.put(AxisEngine.ENV_SERVLET_REALPATH, webInfPath + File.separator
+ "attachments");
               }
               environment.put(EngineConfiguration.PROPERTY_NAME, config);
   
  
  
  

Mime
View raw message