The ServletRequestServicer Pipeline won't see normal exception. You can either override DirectService and put a try-catch around the triggerComponent or you can put your code in the ListenerInvoker-Pipeline. In the latter case it's wrapped around each listener invocation (possibly more than one per request).
You may find useful example code at http://honeycomb.javaforge.com Marcus > -----Original Message----- > From: Sukma Agung Verdianto [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 12, 2006 7:13 AM > To: tapestry-user@jakarta.apache.org > Subject: Open Session in View - Tapestry > > > Hi, > > I'm trying to implement Open Session in View in tapestry application. > There is a way to create servlet filter to open and close the > db session. > (I'm using ServletRequestServicer) > My question is, how can I catch the page exception to rollback the > transaction, because > tapestry ExceptionHandling catch that exceptin and never > throw it as servlet > exception. > Sorry for my bad english :( > > Rdgs, > Verdianto > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]