Author: jaz
Date: Sun Apr 22 09:58:17 2007
New Revision: 531230
URL:
http://svn.apache.org/viewvc?view=rev&rev=531230Log:
now adds the component name to the servlet context
Modified:
ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java
Modified: ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?view=diff&rev=531230&r1=531229&r2=531230==============================================================================
--- ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java (original)
+++ ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java Sun Apr 22 09:58:17 2007
@@ -514,6 +514,7 @@
context.setCrossContext(crossContext);
context.setManager(sessionMgr);
context.getServletContext().setAttribute("_serverId", appInfo.server);
+ context.getServletContext().setAttribute("componentName", appInfo.componentConfig.getComponentName());
// create the Default Servlet instance to mount
StandardWrapper defaultServlet = new StandardWrapper();