core-jgi/org.adempiere.webstore/WEB-INF/web.xml

342 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<icon>
<large-icon>/C32.gif</large-icon>
</icon>
<display-name>ADempiere Web Store</display-name>
<description></description>
<!--Standard Parameters - if 0 use web store context -->
<context-param>
<param-name>#W_Store_ID</param-name>
<param-value>0</param-value>
</context-param>
<filter>
<description>ADempiere Web Store Filter</description>
<display-name>Web Store Filter </display-name>
<filter-name>WebStoreFilter</filter-name>
<filter-class>org.compiere.wstore.StoreFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>WebStoreFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- Force SSL connection for login and checkout -->
<security-constraint>
<web-resource-collection>
<web-resource-name>SSL pages</web-resource-name>
<url-pattern>/login.jsp</url-pattern>
<url-pattern>/loginServlet</url-pattern>
<url-pattern>/checkOutServlet</url-pattern>
<url-pattern>/orderServlet</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<servlet>
<display-name>Web Store Advertisement</display-name>
<servlet-name>AdvertisementServlet</servlet-name>
<servlet-class>org.compiere.wstore.AdvertisementServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<display-name>Web Store Assets</display-name>
<servlet-name>AssetServlet</servlet-name>
<servlet-class>org.compiere.wstore.AssetServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<display-name>Web Basket Servlet</display-name>
<servlet-name>BasketServlet</servlet-name>
<servlet-class>org.compiere.wstore.BasketServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web CheckOut Servlet</display-name>
<servlet-name>CheckOutServlet</servlet-name>
<servlet-class>org.compiere.wstore.CheckOutServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>ADempiere Click</display-name>
<servlet-name>Click</servlet-name>
<servlet-class>org.compiere.wstore.Click</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Expense Report</display-name>
<servlet-name>ExpenseServlet</servlet-name>
<servlet-class>org.compiere.wstore.ExpenseServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<display-name>Web Page Counter</display-name>
<servlet-name>Counter</servlet-name>
<servlet-class>org.compiere.wstore.Counter</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Store Interest Area Servlet</display-name>
<servlet-name>InfoServlet</servlet-name>
<servlet-class>org.compiere.wstore.InfoServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<display-name>Web Store Invoices</display-name>
<servlet-name>InvoiceServlet</servlet-name>
<servlet-class>org.compiere.wstore.InvoiceServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Store Location Servlet</display-name>
<servlet-name>LocationServlet</servlet-name>
<servlet-class>org.compiere.wstore.LocationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web User Login Servlet</display-name>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>org.compiere.wstore.LoginServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Notification</display-name>
<servlet-name>NoteServlet</servlet-name>
<servlet-class>org.compiere.wstore.NoteServlet</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<display-name>Web Store Order</display-name>
<servlet-name>OrderServlet</servlet-name>
<servlet-class>org.compiere.wstore.OrderServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<display-name>Web Store Payment Processing</display-name>
<servlet-name>PaymentServlet</servlet-name>
<servlet-class>org.compiere.wstore.PaymentServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<display-name>Web Product Search</display-name>
<servlet-name>ProductServlet</servlet-name>
<servlet-class>org.compiere.wstore.ProductServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Registration Servlet</display-name>
<servlet-name>RegistrationServlet</servlet-name>
<servlet-class>org.compiere.wstore.RegistrationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Request Servlet</display-name>
<servlet-name>RequestServlet</servlet-name>
<servlet-class>org.compiere.wstore.RequestServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web RfQ Servlet</display-name>
<servlet-name>RfQServlet</servlet-name>
<servlet-class>org.compiere.wstore.RfQServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<display-name>Web Store Search Servlet</display-name>
<servlet-name>SearchServlet</servlet-name>
<servlet-class>org.compiere.wstore.SearchServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web User Update Servlet</display-name>
<servlet-name>UpdateServlet</servlet-name>
<servlet-class>org.compiere.wstore.UpdateServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Workflow Servlet</display-name>
<servlet-name>WorkflowServlet</servlet-name>
<servlet-class>org.compiere.wstore.WorkflowServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Index Page</display-name>
<servlet-name>Index</servlet-name>
<jsp-file>/index.jsp</jsp-file>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Basket Page</display-name>
<servlet-name>Basket</servlet-name>
<jsp-file>/basket.jsp</jsp-file>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Login Page</display-name>
<servlet-name>Login</servlet-name>
<jsp-file>/login.jsp</jsp-file>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Request Page</display-name>
<servlet-name>Request</servlet-name>
<jsp-file>/request.jsp</jsp-file>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web Info Page</display-name>
<servlet-name>Info</servlet-name>
<jsp-file>/info.jsp</jsp-file>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Web EMail Servlet</display-name>
<servlet-name>EMailServlet</servlet-name>
<servlet-class>org.compiere.wstore.EMailServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<display-name>Adempiere Issue Reporting</display-name>
<servlet-name>IssueReportServlet</servlet-name>
<servlet-class>org.compiere.wstore.IssueReportServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>AdvertisementServlet</servlet-name>
<url-pattern>/advertisementServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AssetServlet</servlet-name>
<url-pattern>/assetServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BasketServlet</servlet-name>
<url-pattern>/basketServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CheckOutServlet</servlet-name>
<url-pattern>/checkOutServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Click</servlet-name>
<url-pattern>/click/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ExpenseServlet</servlet-name>
<url-pattern>/expenseServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Counter</servlet-name>
<url-pattern>/counter/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>InfoServlet</servlet-name>
<url-pattern>/infoServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>InvoiceServlet</servlet-name>
<url-pattern>/invoiceServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LocationServlet</servlet-name>
<url-pattern>/locationServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/loginServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>NoteServlet</servlet-name>
<url-pattern>/noteServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>OrderServlet</servlet-name>
<url-pattern>/orderServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PaymentServlet</servlet-name>
<url-pattern>/paymentServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProductServlet</servlet-name>
<url-pattern>/productServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RegistrationServlet</servlet-name>
<url-pattern>/registrationServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RequestServlet</servlet-name>
<url-pattern>/requestServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RfQServlet</servlet-name>
<url-pattern>/rfqServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SearchServlet</servlet-name>
<url-pattern>/searchServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>UpdateServlet</servlet-name>
<url-pattern>/updateServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>WorkflowServlet</servlet-name>
<url-pattern>/workflowServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Index</servlet-name>
<url-pattern>/index.jsp/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Basket</servlet-name>
<url-pattern>/basket.jsp/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Login</servlet-name>
<url-pattern>/login.jsp/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Request</servlet-name>
<url-pattern>/request.jsp/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Info</servlet-name>
<url-pattern>/info.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EMailServlet</servlet-name>
<url-pattern>/emailServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>IssueReportServlet</servlet-name>
<url-pattern>/issueReportServlet/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!--env-entry>
<env-entry-name>ADEMPIERE_HOME</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/opt/adempiere/</env-entry-value>
</env-entry-->
</web-app>