PageRenderTime 377ms CodeModel.GetById 108ms app.highlight 15ms RepoModel.GetById 61ms app.codeStats 0ms

/zkcalendar3/demo/src/archive/WEB-INF/web.xml

http://zkcalendar.googlecode.com/
XML | 241 lines | 143 code | 11 blank | 87 comment | 0 complexity | f7784ed604af141ce2b8826387186559 MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2
  3<!-- web.xml
  4	Purpose:
  5		
  6	Description:
  7		
  8	History:
  9		Wed Dec 29 12:13:00     2004, Created by tomyeh
 10
 11Copyright (C) 2004 Potix Corporation. All Rights Reserved.
 12-->
 13
 14<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
 15 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 16 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> 
 17
 18	<description><![CDATA[ZK Demo]]></description>
 19	<display-name>zkdemo</display-name>
 20	<!--
 21	<icon>
 22		<small-icon></small-icon>
 23		<large-icon></large-icon>
 24	</icon>
 25	-->
 26	<!-- Spring ApplicationContext -->
 27	<!-- 
 28	<context-param>
 29		<param-name>contextConfigLocation</param-name>
 30		<param-value>/WEB-INF/spring-config.xml</param-value>
 31	</context-param>
 32	<listener>
 33		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
 34	</listener>
 35	 -->
 36	<!-- //// -->
 37	<!-- ZK -->
 38	<listener>
 39		<description>ZK listener for session cleanup</description>
 40		<listener-class>org.zkoss.zk.ui.http.HttpSessionListener</listener-class>
 41	</listener>
 42	<servlet>
 43		<description>ZK loader for ZUML pages</description>
 44		<servlet-name>zkLoader</servlet-name>
 45		<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
 46		<!-- Must. Specifies URI of the update engine (DHtmlUpdateServlet).
 47		It must be the same as <url-pattern> for the update engine.
 48		-->
 49		<init-param>
 50			<param-name>update-uri</param-name>
 51			<param-value>/zkau</param-value>
 52		</init-param>
 53		<!-- Optional. Specifies whether to compress the output
 54		of the ZK loader. It speeds up the transmission over slow Internet.
 55		However, if you configure a filter to post-processing the
 56		output, you might have to disable it.
 57
 58		Default: true
 59		<init-param>
 60			<param-name>compress</param-name>
 61			<param-value>true</param-value>
 62		</init-param>
 63		-->
 64		<!-- Optional. Specifies the default log level: OFF, ERROR, WARNING,
 65			INFO, DEBUG and FINER. If not specified, the system default is used.
 66		<init-param>
 67			<param-name>log-level</param-name>
 68			<param-value>OFF</param-value>
 69		</init-param>
 70		-->
 71		<load-on-startup>1</load-on-startup><!-- Must -->
 72	</servlet>
 73	<servlet-mapping>
 74		<servlet-name>zkLoader</servlet-name>
 75		<url-pattern>*.zul</url-pattern>
 76	</servlet-mapping>
 77	<servlet-mapping>
 78		<servlet-name>zkLoader</servlet-name>
 79		<url-pattern>*.zhtml</url-pattern>
 80	</servlet-mapping>
 81	<servlet-mapping>
 82		<servlet-name>zkLoader</servlet-name>
 83		<url-pattern>*.svg</url-pattern>
 84	</servlet-mapping>
 85	<servlet-mapping>
 86		<servlet-name>zkLoader</servlet-name>
 87		<url-pattern>*.xml2html</url-pattern>
 88	</servlet-mapping>
 89
 90	<!-- Optional. Uncomment it if you want to use richlets.
 91	-->
 92	<servlet-mapping>
 93		<servlet-name>zkLoader</servlet-name>
 94		<url-pattern>/zk/*</url-pattern>
 95	</servlet-mapping>
 96
 97	<servlet>
 98		<description>The asynchronous update engine for ZK</description>
 99		<servlet-name>auEngine</servlet-name>
100		<servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
101
102		<!-- [Optional] Specifies the AU processor for particular prefix.
103		<init-param>
104			<param-name>processor0</param-name>
105			<param-value>/upload=com.my.MyUploader</param-value>
106		</init-param>
107		-->
108	</servlet>
109	<servlet-mapping>
110		<servlet-name>auEngine</servlet-name>
111		<url-pattern>/zkau/*</url-pattern>
112	</servlet-mapping>
113
114	<!-- Uncomment if you want to use the ZK filter to post process the HTML output
115	generated by other technology, such as JSP and velocity.
116	<filter>
117		<filter-name>zkFilter</filter-name>
118		<filter-class>org.zkoss.zk.ui.http.DHtmlLayoutFilter</filter-class>
119		<init-param>
120			<param-name>extension</param-name>
121			<param-value>html</param-value>
122		</init-param>
123		<init-param>
124			<param-name>compress</param-name>
125			<param-value>true</param-value>
126		</init-param>
127	</filter>
128	<filter-mapping>
129		<filter-name>zkFilter</filter-name>
130		<url-pattern>/test/filter.dsp</url-pattern>
131	</filter-mapping>
132	<filter-mapping>
133		<filter-name>zkFilter</filter-name>
134		<url-pattern>/test/filter2.dsp</url-pattern>
135	</filter-mapping>
136	-->
137
138	<!-- ///////////// -->
139	<!-- DSP (optional) -->
140	<!-- Uncomment if you want to use Potix DSP in your Website
141	-->
142	<servlet>
143		<servlet-name>dspLoader</servlet-name>
144		<servlet-class>org.zkoss.web.servlet.dsp.InterpreterServlet</servlet-class>
145		<init-param>
146			<param-name>class-resource</param-name>
147			<param-value>true</param-value>
148		</init-param>
149	</servlet>
150	<servlet-mapping>
151		<servlet-name>dspLoader</servlet-name>
152		<url-pattern>*.dsp</url-pattern>
153	</servlet-mapping>
154
155	<!-- /////////// -->
156	<!-- Miscellaneous -->
157	<session-config>
158		<session-timeout>60</session-timeout>
159	</session-config>
160
161	<!-- MIME mapping -->
162	<mime-mapping>
163		<extension>doc</extension>
164		<mime-type>application/vnd.ms-word</mime-type>
165	</mime-mapping>
166	<mime-mapping>
167		<extension>gif</extension>
168		<mime-type>image/gif</mime-type>
169	</mime-mapping>
170	<mime-mapping>
171		<extension>htm</extension>
172		<mime-type>text/html</mime-type>
173	</mime-mapping>
174	<mime-mapping>
175		<extension>html</extension>
176		<mime-type>text/html</mime-type>
177	</mime-mapping>
178	<mime-mapping>
179		<extension>jnlp</extension>
180		<mime-type>application/x-java-jnlp-file</mime-type>
181	</mime-mapping>
182	<mime-mapping>
183		<extension>jpeg</extension>
184		<mime-type>image/jpeg</mime-type>
185	</mime-mapping>
186	<mime-mapping>
187		<extension>jpg</extension>
188		<mime-type>image/jpeg</mime-type>
189	</mime-mapping>
190	<mime-mapping>
191		<extension>js</extension>
192		<mime-type>application/x-javascript</mime-type>
193	</mime-mapping>
194	<mime-mapping>
195		<extension>pdf</extension>
196		<mime-type>application/pdf</mime-type>
197	</mime-mapping>
198	<mime-mapping>
199		<extension>png</extension>
200		<mime-type>image/png</mime-type>
201	</mime-mapping>
202	<mime-mapping>
203		<extension>rar</extension>
204		<mime-type>application/x-rar-compressed</mime-type>
205	</mime-mapping>
206	<mime-mapping>
207		<extension>txt</extension>
208		<mime-type>text/plain</mime-type>
209	</mime-mapping>
210	<mime-mapping>
211		<extension>xls</extension>
212		<mime-type>application/vnd.ms-excel</mime-type>
213	</mime-mapping>
214	<mime-mapping>
215		<extension>xml</extension>
216		<mime-type>text/xml</mime-type>
217	</mime-mapping>
218	<mime-mapping>
219		<extension>xul</extension>
220		<mime-type>application/vnd.mozilla.xul-xml</mime-type>
221	</mime-mapping>
222	<mime-mapping>
223		<extension>zhtml</extension>
224		<mime-type>text/html</mime-type>
225	</mime-mapping>
226	<mime-mapping>
227		<extension>zip</extension>
228		<mime-type>application/x-zip</mime-type>
229	</mime-mapping>
230	<mime-mapping>
231		<extension>zul</extension>
232		<mime-type>text/html</mime-type>
233	</mime-mapping>
234
235	<welcome-file-list>
236		<welcome-file>index.zul</welcome-file>
237		<welcome-file>index.zhtml</welcome-file>
238		<welcome-file>index.html</welcome-file>
239		<welcome-file>index.htm</welcome-file>
240	</welcome-file-list>
241</web-app>