axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r645534 - /webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
Date Mon, 07 Apr 2008 14:18:51 GMT
Author: dims
Date: Mon Apr  7 07:18:50 2008
New Revision: 645534

URL: http://svn.apache.org/viewvc?rev=645534&view=rev
Log:
throw in a check for null (thanks saminda!) - trunk svn revision 645532

Modified:
    webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java

Modified: webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java?rev=645534&r1=645533&r2=645534&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
(original)
+++ webservices/axis2/branches/java/1_4/modules/kernel/src/org/apache/axis2/transport/http/AxisServlet.java
Mon Apr  7 07:18:50 2008
@@ -671,7 +671,9 @@
         msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETRESPONSE, response);
         try {
             ServletContext context = getServletContext();
-            msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETCONTEXT, context);
+            if(context != null) {
+                msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETCONTEXT, context);
+            }
         } catch (Exception e){
             log.debug(e.getMessage(), e);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message