Environment setup
From Documentation
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:
Quiz
- A plugin for FireFox is a must have debug tool. What is it?
- What's the visual editor plugin provides by ZKoss?
- What's the two configuration files you should know?