2008-11-11 06:54:09 +07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2017-04-22 08:58:09 +07:00
|
|
|
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
|
|
|
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_3_1.xsd"
|
|
|
|
version="3.1">
|
2008-11-11 06:54:09 +07:00
|
|
|
|
2010-07-15 02:09:32 +07:00
|
|
|
<filter>
|
|
|
|
<filter-name>MD5Filter</filter-name>
|
|
|
|
<filter-class>
|
|
|
|
org.compiere.web.MD5Filter
|
|
|
|
</filter-class>
|
|
|
|
</filter>
|
|
|
|
<filter-mapping>
|
|
|
|
<filter-name>MD5Filter</filter-name>
|
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
</filter-mapping>
|
2008-11-11 06:54:09 +07:00
|
|
|
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>GetMD5File</servlet-name>
|
|
|
|
<servlet-class>
|
|
|
|
org.compiere.web.GetMD5FileServlet
|
|
|
|
</servlet-class>
|
|
|
|
</servlet>
|
|
|
|
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>GetMD5File</servlet-name>
|
|
|
|
<url-pattern>/GetMD5File</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<!--
|
|
|
|
To specify mime mappings, create a file named mime-mappings.xml, put it in your project's mergedir.
|
|
|
|
Organize mime-mappings.xml following this DTD slice:
|
2010-07-14 10:41:52 +07:00
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<!ELEMENT mime-mapping (extension, mime-type)>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
To specify error pages, create a file named error-pages.xml, put it in your project's mergedir.
|
|
|
|
Organize error-pages.xml following this DTD slice:
|
2010-07-14 10:41:52 +07:00
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<!ELEMENT error-page ((error-code | exception-type), location)>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
To add taglibs by xml, create a file called taglibs.xml and place it
|
|
|
|
in your merge dir.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
To set up security settings for your web app, create a file named web-security.xml, put it in your project's mergedir.
|
|
|
|
Organize web-security.xml following this DTD slice:
|
2010-07-14 10:41:52 +07:00
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<!ELEMENT security-constraint (display-name?, web-resource-collection+, auth-constraint?, user-data-constraint?)>
|
|
|
|
<!ELEMENT web-resource-collection (web-resource-name, description?, url-pattern*, http-method*)>
|
|
|
|
<!ELEMENT web-resource-name (#PCDATA)>
|
|
|
|
<!ELEMENT url-pattern (#PCDATA)>
|
|
|
|
<!ELEMENT http-method (#PCDATA)>
|
|
|
|
<!ELEMENT user-data-constraint (description?, transport-guarantee)>
|
|
|
|
<!ELEMENT transport-guarantee (#PCDATA)>
|
2010-07-14 10:41:52 +07:00
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
<!ELEMENT login-config (auth-method?, realm-name?, form-login-config?)>
|
|
|
|
<!ELEMENT auth-method (#PCDATA)>
|
|
|
|
<!ELEMENT realm-name (#PCDATA)>
|
|
|
|
<!ELEMENT form-login-config (form-login-page, form-error-page)>
|
|
|
|
<!ELEMENT form-login-page (#PCDATA)>
|
|
|
|
<!ELEMENT form-error-page (#PCDATA)>
|
|
|
|
-->
|
|
|
|
|
|
|
|
</web-app>
|