Setting Up ZK Spring

From Documentation
Revision as of 01:50, 22 February 2011 by Ashishd (talk | contribs)

Follow the simple steps below to start using ZK Spring Integration Library

Purpose

Download and configure ZK Spring Integration Library

Prerequisites

Installing the libraries

  • Configure downloaded ZK & ZK Spring binaries as your web application libraries by either directly copying into WEB-INF/lib or putting them on your web application classpath
  • Add org.zkoss.zk.ui.http.DHtmlLayoutServlet & org.zkoss.zk.au.http.DHtmlUpdateServlet and their mappings in web.xml as shown below.


  • In addition to this you will aslo need to declare Spring ContextLoaderListener in web.xml to be able to declare and register your Spring beans with Spring framework.
     <listener>         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener>