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);
- 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
- 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... dims
- cvs commit: xml-axis/java/src/org/apache/axis/transport/htt... dims
