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
ZK provides configuration files for most common use cases. In most case, you simply copy and paste it. You could find them in the MyApp folder after you uncompress the binary distribution.
web.xml:
- To develop a Web application with ZK, we have to configure two Servlets and one listeners to web.xml[1] under the WEB-INF directory.
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 more information, please refer to the ZK Configuration Reference.
- ↑ It is also known as Deployment Descriptor
Quiz
- What's the two configuration files you should know?