File: example-web.xml

package info (click to toggle)
jnlp-servlet 20120126-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 344 kB
  • sloc: java: 2,818; xml: 65; makefile: 4
file content (29 lines) | stat: -rw-r--r-- 1,219 bytes parent folder | download | duplicates (4)
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
<web-app>
	<servlet>
		<servlet-name>JnlpDownloadServlet</servlet-name>
		<servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
	</servlet>
	<servlet-mapping>
		<servlet-name>JnlpDownloadServlet</servlet-name>
		<url-pattern>*.jnlp</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>JnlpDownloadServlet</servlet-name>
		<url-pattern>*.jar</url-pattern>
	</servlet-mapping>
	<context-param>
		<param-name>jarDiffDisabled</param-name>
		<param-value>true</param-value>
		<description>Whether jar differencing is disabled or not</description>
	</context-param>
    <context-param>
        <param-name>packOnTheFly</param-name>
        <param-value>true</param-value>
        <description>Whether the servlet should attempt to create and save a pack200-gzip file on-the-fly</description>
    </context-param>
    <context-param>
        <param-name>packCommand</param-name>
        <param-value>pack200 -E7 --segment-limit=-1</param-value>
        <description>The command and options that should be used for pack200. If using signed jars, the settings need to be identical to the ones used to pack/unpack (normalize) the jar before signing!</description>
    </context-param>
</web-app>