hieplq 2019-04-23 19:48:36 +07:00
parent 21815b81c2
commit 29f4a4b830
3 changed files with 24 additions and 1 deletions

View File

@ -54,6 +54,14 @@
<param-value>org.adempiere.web.server.ServerApplication</param-value> <param-value>org.adempiere.web.server.ServerApplication</param-value>
</init-param> </init-param>
</servlet> --> </servlet> -->
<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>
<servlet-mapping> <servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name> <servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*.jnlp</url-pattern> <url-pattern>*.jnlp</url-pattern>

View File

@ -35,6 +35,14 @@
<!-- Remove async-supported if you are not using Servlet 3.0 --> <!-- Remove async-supported if you are not using Servlet 3.0 -->
<async-supported>true</async-supported> <async-supported>true</async-supported>
</servlet> </servlet>
<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>
<servlet-mapping> <servlet-mapping>
<servlet-name>AtmosphereServlet</servlet-name> <servlet-name>AtmosphereServlet</servlet-name>
<url-pattern>/zkau/comet</url-pattern> <url-pattern>/zkau/comet</url-pattern>

View File

@ -27,7 +27,14 @@
</servlet-class> </servlet-class>
<load-on-startup>1</load-on-startup> <load-on-startup>1</load-on-startup>
</servlet> </servlet>
<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>
<servlet-mapping> <servlet-mapping>
<servlet-name>CXFServlet</servlet-name> <servlet-name>CXFServlet</servlet-name>
<url-pattern>/services/*</url-pattern> <url-pattern>/services/*</url-pattern>