O'Reilly logo

ZK Developer's Guide by Markus Stauble, Hans-Jurgen Schumacher, Jurgen Schumacher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ZK JSP Tags Library

ZK as an AJAX framework has its own interpreting and rendering technology. In some cases, however, the developer would like to use JSP pages and add some ZK features. Maybe there is a large application with hundreds of JSP pages that can't migrate so easily. For this purpose ZK provides the ZK JSP tags library.

Actually the ZK JSP tags library consists of two files:

  • zuljsp.jar

  • zuljsp.tld

Declare the namespace in the JSP files and start using ZK via tags. Check this sample.jsp:

<%@ taglib uri="http://www.zkoss.org/2005/zul/jsp" prefix="j" %> <j:page zscriptLanguage="java"> <h3>JSP Tag Demo</h3> <j:window title="jsp demo" border="normal" width="650px"> <j:button label="Click Me"> <j:attribute name="onClick">{ Messagebox.show("It ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required