0

use zk tag in JSP File, but statement <@taglib..> report:file not find

asked 2009-10-15 14:08:18 +0800

snakezou gravatar image snakezou
33

I want use ZK tag in JSP file directly, I writed a JSP File in accord to the example in User Guide,
the file content is:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="z" %>
<html>
<head>
<title>Test of ZUL on JSP</title>
</head>
<body>
<h1>1. Header outside z:page</h1>
<z:page>
<h2>2. Header in z:page</h2>
<z:window id="win" title="Test" border="normal">
<p>3. Content in z:window</p>
<z:button label="Overlap" onClick="win.doOverlapped()"/>
</z:window>
<p>4. Content in z:page after z:window</h2>
</z:page>
<p>5. Content after z:page</p>
</body>
</html>

but in editor, system give me an error information:
Can not find the tag library descriptor for "http://www.zkoss.org/jsp/zul"

how could I correct this error?
thanks

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-11-06 04:41:58 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

What kind of the editor you are using?

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-10-15 14:08:18 +0800

Seen: 500 times

Last updated: Nov 06 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More