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

69 lines
2.1 KiB
XML
Raw Normal View History

2006-11-17 10:15:48 +07:00
<?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>
2006-11-17 10:15:48 +07:00
<!--Standard Parameters - if 0 use web store context -->
<context-param>
<param-name>#W_Store_ID</param-name>
<param-value>0</param-value>
</context-param>
<context-param>
<param-name>#AD_Client_ID</param-name>
<param-value>1000000</param-value>
</context-param>
<filter id="bridge">
<filter-name>equinoxBridgeFilter</filter-name>
<filter-class>org.eclipse.equinox.servletbridge.BridgeFilter</filter-class>
<init-param>
<param-name>bundleSymbolicName</param-name>
<param-value>org.adempiere.webstore</param-value>
</init-param>
2006-11-17 10:15:48 +07:00
</filter>
<filter-mapping>
<filter-name>equinoxBridgeFilter</filter-name>
2006-11-17 10:15:48 +07:00
<url-pattern>/*</url-pattern>
</filter-mapping>
<!--
This is required if your application bundles expose JSPs.
-->
<filter-mapping>
<filter-name>equinoxBridgeFilter</filter-name>
<url-pattern>*.jsp</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>
2006-11-17 10:15:48 +07:00
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>
2006-11-17 10:15:48 +07:00
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
2006-11-17 10:15:48 +07:00
</web-app>