Tomcat"
From Documentation
Line 20: | Line 20: | ||
<references/> | <references/> | ||
</blockquote> | </blockquote> | ||
+ | |||
+ | =Create your first application= | ||
+ | |||
+ | Here is how to create a Web application manually without IDE or other tools. It is easy to find the similar procedure with your preferred IDE or tools, such as Eclipse and NetBeans. | ||
+ | |||
+ | ==Download ZK== | ||
+ | |||
+ | First, download the ZK libraries from http://www.zkoss.org/download/zk.dsp and save it to a proper location. | ||
+ | |||
+ | ==Create a Web application== | ||
+ | |||
+ | Creating a Web application in Tomcat is easy: just create a directory under $TOMCAT_HOME/webapps. Let us assume the application is called myZK. Then, the directory structure shall be as follows. | ||
+ | |||
+ | :myZK | ||
+ | ::WEB-INF | ||
+ | ::WEB-INF/lib | ||
=Version History= | =Version History= |
Revision as of 04:06, 6 September 2010
Install Tomcat
- First, visit http://tomcat.apache.org/download-60.cgi
- Second, select the correct binary distribution for your environment.
- Windows users could select "32-bit/64-bit Windows Service Installer" and then follow its instructions.
Test drive with the ZK demo application
The simplest way to test drive ZK is to download and install the ZK demo application.
- Download at http://sourceforge.net/projects/zk1/files/ZK/zk-5.0.4/zk-demo-5.0.4.zip/download[1]
- Unzip zk-demo-5.0.4.zip
- Copy the zk-demo-5.0.4 directory to $TOMCAT_HOME\webapps. $TOMCAT_HOME is the directory you installed Tomcat, for example, C:\Program Files\Apache Software Foundation\Tomcat 6.0.
- Then, you could visit http://localhost:8080/zk-demo-5.0.4 and play around with the demo application
- ↑ It is recommended to visit http://www.zkoss.org/download/zk.dsp for the most updated version.
Create your first application
Here is how to create a Web application manually without IDE or other tools. It is easy to find the similar procedure with your preferred IDE or tools, such as Eclipse and NetBeans.
Download ZK
First, download the ZK libraries from http://www.zkoss.org/download/zk.dsp and save it to a proper location.
Create a Web application
Creating a Web application in Tomcat is easy: just create a directory under $TOMCAT_HOME/webapps. Let us assume the application is called myZK. Then, the directory structure shall be as follows.
- myZK
- WEB-INF
- WEB-INF/lib
Version History
Version | Date | Content |
---|---|---|