Revision history [back]

click to hide/show revision 1
initial version

answered 2013-10-24 02:12:40 +0800

cor3000 gravatar image cor3000

ZK Team

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>

    <load-on-startup>1</load-on-startup>
</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>

    <load-on-startup>1</load-on-startup>
</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
Learn More