Re: Excaption Handling in Struts 2

2007-04-05 Thread Dave Newton
--- ChristopherAngel wrote: > Looks like you're right. Dammit; that uses up my monthly allocation (I only get three). That's cool; someone will add something somewhere on the Wiki (I know I like sending emails on certain exception types or logging others, etc.) and this might be a good way to han

Re: Excaption Handling in Struts 2

2007-04-05 Thread ChristopherAngel
Looks like you're right. I now have: exception WEB-INF/jsp/exception.jsp and it is working. Thank you. Dave Newton-4 wrote: > > --- ChristopherAngel wrote: >> How do I call an action before goi

Re: Excaption Handling in Struts 2

2007-04-05 Thread Dave Newton
--- ChristopherAngel wrote: > How do I call an action before going to that page? This is untested, but AFAICT you should be able to have the result be whatever type you want, so perhaps you could send it to a type='action-redirect'? http://struts.apache.org/2.x/docs/exception-interceptor.html P

Re: Excaption Handling in Struts 2

2007-04-05 Thread ChristopherAngel
Ah - thank you. Strange that I couldn't see it. Ok I've now redirected all exceptions to a page. How do I now call an action before going to that page? Dave Newton-4 wrote: > > --- ChristopherAngel wrote: >> I think I'm having a bit of a fick day. > > It's almost Friday :) > >> but I have

Re: Excaption Handling in Struts 2

2007-04-05 Thread Dave Newton
--- ChristopherAngel wrote: > I think I'm having a bit of a fick day. It's almost Friday :) > but I have to ask in which jar can I find it? Should just be there in struts-core; IIRC it's at the root level. d. _

Re: Excaption Handling in Struts 2

2007-04-05 Thread ChristopherAngel
I think I'm having a bit of a fick day. Not only did I spell "Exception" "Excaption" but I have to ask in which jar can I find it? Dave Newton-4 wrote: > > --- ChristopherAngel wrote: >> Not only that but I'm confused by the 1st one > talking >> about the struts-default.xml which I've never se

Re: Excaption Handling in Struts 2

2007-04-05 Thread Dave Newton
--- ChristopherAngel wrote: > Not only that but I'm confused by the 1st one talking > about the struts-default.xml which I've never seen. Nobody's stopping you ;) It's in the jar; just look at it. d. It's he