Environment setup

From Documentation
Environment setup


Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


Configuration files you should know

ZKoss has provided Configuration files for most common use cases. In most case, you simply copy and paste it.

web.xml:

To develop a Web application with ZK, you have to configure servlets, listeners and an optional filter to web.xml. It is also know as Deployment Descriptor.

zk.xml:

zk.xml is the configuration descriptor of ZK. This file is optional. If you need to configure ZK differently from the default, you could provide a file called zk.xml under the WEB-INF directory.

For detail explanation of web.xml, zk.xml, please refer to the ZK Configuration Reference

When you use other back-end frameworks like hibernate, you have to modify zk.xml as well. Also, ZKoss has provided reference zk.xml. You can simply copy and paste it.

See Also

From ZK Forum:

Eclipse 3.4 and zul.xsd

Quiz

  1. A plugin for FireFox is a must have debug tool. What is it?
  2. What's the visual editor plugin provides by ZKoss?
  3. What's the two configuration files you should know?



Last Update : 2010/09/05

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