ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

How to run test apps in Jetty?

jBee
13 Sep 2010 05:39:22 GMT
13 Sep 2010 05:39:22 GMT

I install and configure Jetty as http://books.zkoss.org/wiki/ZK_Installation_Guide/Setting_up_Servers/Jetty next write sample app as describe in http://www.zkoss.org/doc/installzk.dsp

when go to http://localhost:8080/zkdemo it show directory contents not the app

how to run test app in Jetty?

this is test app:

<window title="My First window" border="normal" width="200px">
	Hello, World!
</window>

Also Jetty say that web.xml is not well formed. I suspect that the file web.xml is incorrect

Step 4 from http://www.zkoss.org/doc/installzk.dsp is incorrect: We must create a subdirectory WEB-INF in the directory zkdemo and put the correct file web.xml
Contents web.xml in step 4 is incorrect also.

PeterKuo
28 Oct 2010 21:53:37 GMT
28 Oct 2010 21:53:37 GMT

http://www.zkoss.org/doc/installzk.dsp is out of date.
It's better to install zk studio in eclipse 3.5, and start a zk project.