Setting Up ZK Spring

From Documentation




Follow the simple steps below to start using ZK Spring library.

Prerequisites

Installing ZK Spring to Your Project

  • Copy downloaded ZK, Spring, and ZK Spring jar files into your web application's WEB-INF/lib or put them on your web application classpath.
  • Because ZK Spring depends on ZK, please follow ZK Installation Guide/Quick Start/Create and Run Your First ZK Application Manually to setup ZK first.
  • In addition, you also need to declare Spring ContextLoaderListener in the 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>



Last Update : 2023/02/02

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