aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/webapp-heat-validation/WEB-INF/web.xml
blob: 013ab327154bb94c64c9d322e3e3229d2da5f276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
    version="3.0">

    <display-name>Heat-Validation</display-name>

    <welcome-file-list>
        <welcome-file>heat.html</welcome-file>
    </welcome-file-list>

    <servlet>
        <servlet-name>js</servlet-name>
        <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>

        <init-param>
            <param-name>cacheControl</param-name>
            <param-value>public, no-cache</param-value>
        </init-param>
        <init-param>
            <param-name>etags</param-name>
            <param-value>true</param-value>
        </init-param>
    </servlet>

    <context-param>
        <param-name>org.eclipse.jetty.servlet.Default.dirAllowed</param-name>
        <param-value>false</param-value>
    </context-param>

    <servlet-mapping>
        <servlet-name>js</servlet-name>
        <url-pattern>*.js</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>

        <init-param>
            <param-name>cacheControl</param-name>
            <param-value>public, max-age=31536000</param-value>
        </init-param>
        <init-param>
            <param-name>etags</param-name>
            <param-value>true</param-value>
        </init-param>
    </servlet>

    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

</web-app>