You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/02/14 03:53:04 UTC
svn commit: r507363 -
/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
Author: jaz
Date: Tue Feb 13 18:53:03 2007
New Revision: 507363
URL: http://svn.apache.org/viewvc?view=rev&rev=507363
Log:
changed order so that event handlers can get access to the request handler from the servlet context
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?view=diff&rev=507363&r1=507362&r2=507363
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Tue Feb 13 18:53:03 2007
@@ -65,8 +65,8 @@
RequestHandler rh = (RequestHandler) servletContext.getAttribute("_REQUEST_HANDLER_");
if (rh == null) {
rh = new RequestHandler();
- rh.init(servletContext);
servletContext.setAttribute("_REQUEST_HANDLER_", rh);
+ rh.init(servletContext);
}
return rh;
}