Sample of web.xml for Servlet 3.0

From Documentation

DocumentationZK Installation GuideZK BackgroundSample of web.xml for Servlet 3.0
Sample of web.xml for Servlet 3.0

Since 6.0.0 ZK supports Servlet 3.0 Pluggability, so you don't have to configure ZK's servlets and listeners in WEB-INF/web.xml at all. (Make sure you include zkwebfragment.jar)

<web-app xmlns=""

	<description><![CDATA[My ZK Application]]></description>

On the other hand, if metadata-complete=“true” was specified in WEB-INF/web.xml (i.e., the support of pluggability is disabled), you have to configure ZK servlets and listeners manually as described in the Sample of web.xml for Servlet 2.4.

Last Update : 2022/12/13

Last Update : 2022/12/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.