You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by 滕训华 <te...@magic-sw.com.cn> on 2008/04/03 07:26:02 UTC
Tapestry&Hibernate
Why need hibernate.jar?I use tapestry5.0.11 but I do not need to integrate
with hibernate and my web.xml as follow:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
testTape</display-name>
<context-param>
<param-name>tapestry.app-package</param-name>
<param-value>com.test.web</param-value>
</context-param>
<filter>
<filter-name>app</filter-name>
<filter-class>org.apache.tapestry.TapestryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>app</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
But why when I start the tomcat server it told me the error failed to start
the filter and when I copy the hibernate3.jar to the lib,it is ok?why?