# Change update-uri which value is /zkau by other PATH

zkau
1

Hi,

I'd like to change zkloader's uri which value is always /zkau by other value, as example, i want to write in my web.xml:

<servlet>
<description>
The ZK loader for ZUML pages</description>
<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
<init-param>
<param-name>update-uri</param-name>
<param-value>/ds</param-value>
</init-param>
</servlet>


but when i run my server i debug source files of zk and i can find one servlet initialized zkloader which update-uri is /ds, but after i can find other servlet initialized which value is /zkau. My problem is to debug in firebug a request ajax, i always find this ->

......./wlpl/TRTE-MAPR/zkau

and i hope find this ->

......./wlpl/TRTE-MAPR/ds

delete retag edit

cor3000
4366 2 7

did you also update the servlet mapping of the update servlet?

    <servlet>
<description>The asynchronous update engine for ZK</description>
<servlet-name>auEngine</servlet-name>

</servlet>
<servlet-mapping>
<servlet-name>auEngine</servlet-name>
<url-pattern>/ds/*</url-pattern>
<!--        <url-pattern>/zkau/*</url-pattern> -->
</servlet-mapping>

[hide preview]