Thank you all.
It turns out my servlet filter does actually work! I had some other issues
:[
I now use the filter from here: http://www.hibernate.org/43.html
and it seems to satisfy my needs for now anyway :)
Malin
On 7/18/06, Pratibha Gopalam <[EMAIL PROTECTED]> wrote:
This is what I did
p
This is what I did
public class MyFilter implements WebRequestServicerFilter{
public void service(WebRequest request, WebResponse response,
WebRequestServicer servicer)
throws IOException
{
try
{
//do whatever u want
servicer.servi
Tapernate uses a Tapestry WebRequestServicerFilter to implement the
open-session-in-view pattern.
> Thank you James.
>
> Maybe Tapernate is a good idea... it's just that my project is really
> small
> and I would rather avoid another dependency. And I have not introduced
> Hivemind yet. But I'll s
The following is a simple CRUD web application example
written in Hibernate and Tapetsry 3 (no HiveMind nor
Spring) using servlet filter to avoid
LazyInitilisationException.
http://lombok.demon.co.uk/folders/welcome
There is another version of the above for Tapestry 4
using the approach describ
Thank you James.
Maybe Tapernate is a good idea... it's just that my project is really small
and I would rather avoid another dependency. And I have not introduced
Hivemind yet. But I'll sure check it out carefully.
And I'm still curious for the answer to my question - anyone? :)
Malin
On 7/1
Why reinvent the wheel? Try tapernate:
www.carmanconsulting.com/tapernate
You can use anonymous/anon to check it out from the SVN repository.
> Hi all,
>
> I have tried to implement a Servlet Filter but my Tapestry 4 app will not
> take it... I get some weird errors - is it not supposed to work
Hi all,
I have tried to implement a Servlet Filter but my Tapestry 4 app will not
take it... I get some weird errors - is it not supposed to work?
I have also read about the ServletRequestServicerFilter but I cannot find
any decent documentation - is there any? ... I lack documentation about man