# Revision history [back]

Hi,

in case you are using Servlet 3.0 specification the ZK servlets are loaded from the zk.jar/META-INF/web-fragment.xml in there the servlet is defined like this

<servlet>
<servlet-name>DHtmlLayoutServlet</servlet-name>
<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
<init-param>
<param-name>update-uri</param-name>
<param-value>/zkau</param-value>
</init-param>

</servlet>


in order to override this servlet you need to use the name "DHtmlLayoutServlet"

This is just a guess... but could be an explanation of what is happening in your case.

Robert

Hi,

in case you are using the Servlet 3.0 specification the ZK servlets are loaded from the zk.jar/META-INF/web-fragment.xml in there the servlet is defined like this

<servlet>
<servlet-name>DHtmlLayoutServlet</servlet-name>
<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
<init-param>
<param-name>update-uri</param-name>
<param-value>/zkau</param-value>
</init-param>

</servlet>


in order to override this servlet you need to use the name "DHtmlLayoutServlet"

This is just a guess... but could be an explanation of what is happening in your case.

Robert

Support Options
• Email Support
• Training
• Consulting
• Outsourcing