Re: Beginner needs help with Tapestry 5 and Ocpsoft Rewrite

Splash Forums Rewrite Users Beginner needs help with Tapestry 5 and Ocpsoft Rewrite Re: Beginner needs help with Tapestry 5 and Ocpsoft Rewrite

#22480

balteo
Participant

My web.xml:

<?xml version=”1.0″ encoding=”UTF-8″?>

<web-app xmlns=”http://java.sun.com/xml/ns/javaee”

xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”

xsi:schemaLocation=”http://java.sun.com/xml/ns/javaee

http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd

version=”3.0″ metadata-complete=”false”>

<display-name>bignibou web application</display-name>

<context-param>

<param-name>tapestry.app-package</param-name>

<param-value>com.ume.web</param-value>

</context-param>

<context-param>

<param-name>contextConfigLocation</param-name>

<param-value>

classpath:bignibou-configuration-context.xml

</param-value>

</context-param>

<filter>

<filter-name>app</filter-name>

<filter-class>org.apache.tapestry5.spring.TapestrySpringFilter</filter-class>

</filter>

<filter>

<filter-name>oemInViewFilter</filter-name>

<filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>

<init-param>

<param-name>entityManagerFactoryBeanName</param-name>

<param-value>emf</param-value>

</init-param>

</filter>

<filter-mapping>

<filter-name>app</filter-name>

<url-pattern>/*</url-pattern>

</filter-mapping>

<filter-mapping>

<filter-name>oemInViewFilter</filter-name>

<url-pattern>/*</url-pattern>

</filter-mapping>

</web-app>