Installation"

From Documentation
m
Line 1: Line 1:
 
{{ZKJSPTagsEssentialsPageHeader}}
 
{{ZKJSPTagsEssentialsPageHeader}}
  
 +
__TOC__
 
This section outlines information on installing ZK JSP Tags.
 
This section outlines information on installing ZK JSP Tags.
  
{{ZKJSPTagsEssentialsHeadingToc}}
+
=Install ZK First=
 +
Please follow [[ZK_Installation_Guide | ZK Installation Guide]] to install the ZK environment first.
  
 +
=Install ZK JSP Tags=
 +
Installation of ZK JSP Tags is very simple; you unpack the downloaded zip file, copy zuljsp.jar to
 +
WEB-INF/lib/, do some little configuration in web.xml and you can declaring ZK component tag in
 +
your JSP document. We'll discuss how to do settings in web.xml below.
 +
 +
=Additional Configurations for ZK JSP Tags in web.xml=
 +
You have to do one more configuration in web.xml to make ZK JSP Tags working for you. You must add a Listener(org.zkoss.jsp.spec.JspFactoryContextListener) into web.xml as following:
 +
 +
<source lang="xml">
 +
<listener>
 +
    <description>ZK JSP Tags environment initiation </description>
 +
    <display-name>ZK JSP Initiator</display-name>
 +
    <listener-class>org.zkoss.jsp.spec.JspFactoryContextListener</listener-class>
 +
</listener>
 +
</source>
 
{{ZKJSPTagsEssentialsPageFooter}}
 
{{ZKJSPTagsEssentialsPageFooter}}

Revision as of 03:14, 26 November 2010


Installation



This section outlines information on installing ZK JSP Tags.

Install ZK First

Please follow ZK Installation Guide to install the ZK environment first.

Install ZK JSP Tags

Installation of ZK JSP Tags is very simple; you unpack the downloaded zip file, copy zuljsp.jar to WEB-INF/lib/, do some little configuration in web.xml and you can declaring ZK component tag in your JSP document. We'll discuss how to do settings in web.xml below.

Additional Configurations for ZK JSP Tags in web.xml

You have to do one more configuration in web.xml to make ZK JSP Tags working for you. You must add a Listener(org.zkoss.jsp.spec.JspFactoryContextListener) into web.xml as following:

<listener>
    <description>ZK JSP Tags environment initiation </description>
    <display-name>ZK JSP Initiator</display-name>
    <listener-class>org.zkoss.jsp.spec.JspFactoryContextListener</listener-class>
</listener>


Last Update : 2010/11/26

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