Author: jonesde
Date: Thu Feb 26 17:39:59 2009
New Revision: 748221
URL:
http://svn.apache.org/viewvc?rev=748221&view=revLog:
Added new catalog url servlet to ordermgr for the catalog browsing so it can continue to share templates with ecommerce; thanks for Jacques for reporting this
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml?rev=748221&r1=748220&r2=748221&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml Thu Feb 26 17:39:59 2009
@@ -61,7 +61,7 @@
</init-param>
<init-param>
<param-name>allowedPaths</param-name>
- <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
+ <param-value>/control:/catalog:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
</init-param>
<init-param>
<param-name>errorCode</param-name>
@@ -89,11 +89,23 @@
<servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
+ <servlet>
+ <servlet-name>CatalogUrlServlet</servlet-name>
+ <display-name>CatalogUrlServlet</display-name>
+ <description>Catalog (Category/Product) URL Servlet</description>
+ <servlet-class>org.ofbiz.product.category.CatalogUrlServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
<servlet-mapping>
<servlet-name>ControlServlet</servlet-name>
<url-pattern>/control/*</url-pattern>
</servlet-mapping>
-
+ <servlet-mapping>
+ <servlet-name>CatalogUrlServlet</servlet-name>
+ <url-pattern>/catalog/*</url-pattern>
+ </servlet-mapping>
+
<session-config>
<session-timeout>60</session-timeout> <!-- in minutes -->
</session-config>