2007-11-22 18:28:46 +07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-10-13 10:05:19 +07:00
|
|
|
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
2021-09-04 21:12:10 +07:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
|
|
|
|
version="4.0">
|
2012-04-25 16:35:53 +07:00
|
|
|
<display-name>iDempiere Web Client</display-name>
|
2016-07-31 19:20:44 +07:00
|
|
|
<context-param>
|
|
|
|
<param-name>org.eclipse.jetty.servlet.SessionCookie</param-name>
|
|
|
|
<param-value>WEBUI_SESSIONID</param-value>
|
|
|
|
</context-param>
|
2012-04-24 17:54:53 +07:00
|
|
|
<servlet>
|
|
|
|
<servlet-name>AtmosphereServlet</servlet-name>
|
|
|
|
<servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>org.atmosphere.cpr.AtmosphereHandler</param-name>
|
|
|
|
<param-value>fi.jawsy.jawwa.zk.atmosphere.ZkAtmosphereHandler</param-value>
|
|
|
|
</init-param>
|
|
|
|
<init-param>
|
|
|
|
<param-name>org.atmosphere.cpr.AtmosphereHandler.contextRoot</param-name>
|
|
|
|
<param-value>/zkau/comet</param-value>
|
|
|
|
</init-param>
|
2013-01-06 08:17:06 +07:00
|
|
|
<init-param>
|
|
|
|
<param-name>org.atmosphere.cpr.broadcasterCacheClass</param-name>
|
2016-07-07 19:05:05 +07:00
|
|
|
<param-value>org.atmosphere.cache.SessionBroadcasterCache</param-value>
|
2013-01-06 08:17:06 +07:00
|
|
|
</init-param>
|
|
|
|
<init-param>
|
|
|
|
<param-name>org.atmosphere.cpr.AtmosphereInterceptor</param-name>
|
|
|
|
<param-value>org.atmosphere.client.TrackMessageSizeInterceptor</param-value>
|
|
|
|
</init-param>
|
2016-07-07 19:05:05 +07:00
|
|
|
<init-param>
|
|
|
|
<param-name>org.atmosphere.websocket.suppressJSR356</param-name>
|
2021-09-04 21:12:10 +07:00
|
|
|
<param-value>false</param-value>
|
2016-07-07 19:05:05 +07:00
|
|
|
</init-param>
|
2012-04-24 17:54:53 +07:00
|
|
|
<load-on-startup>0</load-on-startup>
|
|
|
|
<!-- Remove async-supported if you are not using Servlet 3.0 -->
|
|
|
|
<async-supported>true</async-supported>
|
|
|
|
</servlet>
|
2019-04-23 19:48:36 +07:00
|
|
|
<servlet>
|
|
|
|
<servlet-name>default</servlet-name>
|
|
|
|
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>dirAllowed</param-name>
|
|
|
|
<param-value>false</param-value>
|
|
|
|
</init-param>
|
|
|
|
</servlet>
|
2012-04-24 17:54:53 +07:00
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>AtmosphereServlet</servlet-name>
|
|
|
|
<url-pattern>/zkau/comet</url-pattern>
|
|
|
|
</servlet-mapping>
|
2014-10-13 10:05:19 +07:00
|
|
|
|
2007-11-22 18:28:46 +07:00
|
|
|
<!-- /// -->
|
|
|
|
<!-- DSP -->
|
|
|
|
<servlet>
|
|
|
|
<description>
|
|
|
|
<![CDATA[The servlet loads the DSP pages.]]>
|
|
|
|
</description>
|
|
|
|
<servlet-name>dspLoader</servlet-name>
|
|
|
|
<servlet-class>
|
|
|
|
org.zkoss.web.servlet.dsp.InterpreterServlet
|
|
|
|
</servlet-class>
|
2015-12-10 20:58:11 +07:00
|
|
|
<!-- Specify class-resource, if you want to access TLD defined in jar files -->
|
|
|
|
<init-param>
|
|
|
|
<param-name>class-resource</param-name>
|
|
|
|
<param-value>true</param-value>
|
|
|
|
</init-param>
|
2007-11-22 18:28:46 +07:00
|
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>dspLoader</servlet-name>
|
|
|
|
<url-pattern>*.dsp</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<!-- /// -->
|
|
|
|
|
|
|
|
<!-- //// -->
|
|
|
|
<!-- ZK -->
|
2012-10-18 17:23:46 +07:00
|
|
|
<listener>
|
|
|
|
<description>
|
|
|
|
Used to track the session currently used
|
|
|
|
</description>
|
|
|
|
<display-name>Update Session</display-name>
|
|
|
|
<listener-class>
|
|
|
|
org.adempiere.webui.LoggedSessionListener
|
|
|
|
</listener-class>
|
|
|
|
</listener>
|
2007-11-22 18:28:46 +07:00
|
|
|
|
|
|
|
<!-- /////////// -->
|
|
|
|
<!-- Miscellaneous -->
|
|
|
|
<session-config>
|
2010-03-29 09:44:16 +07:00
|
|
|
<session-timeout>60</session-timeout>
|
2020-11-17 00:18:49 +07:00
|
|
|
<cookie-config>
|
|
|
|
<http-only>true</http-only>
|
|
|
|
<secure>true</secure>
|
|
|
|
</cookie-config>
|
2007-11-22 18:28:46 +07:00
|
|
|
</session-config>
|
|
|
|
|
|
|
|
<!-- MIME mapping -->
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>doc</extension>
|
|
|
|
<mime-type>application/vnd.ms-word</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>dsp</extension>
|
|
|
|
<mime-type>text/html</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>gif</extension>
|
|
|
|
<mime-type>image/gif</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>htm</extension>
|
|
|
|
<mime-type>text/html</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>html</extension>
|
|
|
|
<mime-type>text/html</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>jnlp</extension>
|
|
|
|
<mime-type>application/x-java-jnlp-file</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>jpeg</extension>
|
|
|
|
<mime-type>image/jpeg</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>jpg</extension>
|
|
|
|
<mime-type>image/jpeg</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>js</extension>
|
2013-12-16 11:25:32 +07:00
|
|
|
<mime-type>text/javascript</mime-type>
|
2007-11-22 18:28:46 +07:00
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>pdf</extension>
|
|
|
|
<mime-type>application/pdf</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>png</extension>
|
|
|
|
<mime-type>image/png</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>txt</extension>
|
|
|
|
<mime-type>text/plain</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>xls</extension>
|
|
|
|
<mime-type>application/vnd.ms-excel</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>xml</extension>
|
|
|
|
<mime-type>text/xml</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>xul</extension>
|
|
|
|
<mime-type>application/vnd.mozilla.xul-xml</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>zhtml</extension>
|
|
|
|
<mime-type>text/html</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>zip</extension>
|
|
|
|
<mime-type>application/x-zip</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>zul</extension>
|
|
|
|
<mime-type>text/html</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<welcome-file-list>
|
|
|
|
<welcome-file>index.zul</welcome-file>
|
|
|
|
</welcome-file-list>
|
2010-09-21 11:57:09 +07:00
|
|
|
|
2012-03-12 11:05:11 +07:00
|
|
|
<!-- <security-constraint> -->
|
|
|
|
<!-- <web-resource-collection> -->
|
|
|
|
<!-- <web-resource-name>all</web-resource-name> -->
|
|
|
|
<!-- <url-pattern>/*</url-pattern> -->
|
|
|
|
<!-- </web-resource-collection> -->
|
|
|
|
<!-- <user-data-constraint> -->
|
|
|
|
<!-- <transport-guarantee>CONFIDENTIAL</transport-guarantee> -->
|
|
|
|
<!-- </user-data-constraint> -->
|
|
|
|
<!-- </security-constraint> -->
|
2007-11-22 18:28:46 +07:00
|
|
|
</web-app>
|