You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Мария Григорьева <ma...@gmail.com> on 2008/08/07 13:41:42 UTC
hibernate example!!!
Dear Mailing-list!
I've found the resource with the sample of hibernate application.
(http://wiki.apache.org/cocoon/CocoonAndHibernateTutorial)
But at the stage of installing the filter, which is said to be situated
above the Servlet Configuration part,
I've got a mistake of cocoon (the content of "web-app" element must match
(::..)):
<!-- Filter Configuration ========================================== -->
<filter>
<filter-name>OpenSessionInViewFilter</filter-name>
<filter-class>org.apache.cocoon.hibernate.OpenSessionInViewFilter</filter-cl
ass>
</filter>
<filter-mapping>
<filter-name>OpenSessionInViewFilter</filter-name>
<url-pattern>/languages/*</url-pattern>
</filter-mapping>
<!-- Servlet Configuration ========================================== -->
::.