-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4004540
By: raidenx112
Hi, I been at this for a while but it just doesn't seem to work. I am following the example from ZK Small Talks. My files are as follows:
JSP page, XHTML compliant, had it checked on the W3c Markup Validation Service
------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<title>Quick Example</title>
</head>
<body>
<h1> Quick Example
</h1>
<p> Note that the layout (with tabs and alignment) is
purely for readability - XHTML doesn't require it.
</p>
</body>
</html>
---------------------------------------------------------------
My web.xml
----------------------------------------------------------------
<!-- ZK Filter -->
<filter>
<filter-name>zkFilter</filter-name>
<filter-class>org.zkoss.zk.ui.http.DHtmlLayoutFilter</filter-class>
<init-param>
<param-name>extension</param-name>
<param-value>html</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>zkFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<!-- ZK Filter -->
----------------------------------------------------------------
As you can see, I don't have any ZK components on the JSP page. I'm just trying to be able to load the original JSP page with the modifications added to the web.xml before moving on. The error I get is this:
org.zkoss.zk.ui.UiException: The Web manager not found. Make sure <load-on-startup> is specified for org.zkoss.zk.ui.http.DHtmlLayoutServlet
I didn't see anything in the example that says I needed to define a servlet.
Am I missing something here? By the way, I'm using Tomcat 5.5.2.
Thanks.
Jack
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4007025
By: henrichen
The ZK Filter will call into the DHtmlLayoutServlet. Just copy web.xml of zkdemo to your web.xml.
/henri
Asked: 2006-11-09 18:39:39 +0800
Seen: 612 times
Last updated: Nov 11 '06