Thank you Turgay

The solution unfortunately does not work for me. 

Maybe I do something stupid. So I have to read through all the other replies 
and try to understand ...

Regards ... Rick

Onsdag 31 august 2005 12:18 skrev Turgay Zengin:
> Sorry, I forgot the filter mapping part. You should also add this to
> web.xml:
>
> <filter-mapping>
>         <filter-name>hibernateFilter</filter-name>
>         <url-pattern>*.do</url-pattern>
> </filter-mapping>
>
> Just replace the url-pattern with the correct pattern you use for JSF
> (*.jsf for example)
>
> -Turgay
>
> On 8/31/05, Turgay Zengin <[EMAIL PROTECTED]> wrote:
> > Did you try the OpenSessionInViewFilter?
> > In web.xml, define this filter:
> >
> > <filter>
> >     <filter-name>hibernateFilter</filter-name>
> > <filter-class>org.springframework.orm.hibernate.support.OpenSessionInView
> >Filter</filter-class> </filter>
> >
> > I have not tried this with MyFaces yet, but with Struts this worked for
> > me.
> >
> > HTH,
> > Turgay.

Reply via email to