Re: interceptor redirection problem

2009-01-31 Thread Dave Newton
Martin Gainty wrote: the problem is you are relying on your own ServletFilter It's a Struts 2 interceptor. this is possibly a configuration problem please display hibernate.xml,hibernate.properties The issue is with the interceptor and not knowing that the result is executed within the inv

RE: interceptor redirection problem

2009-01-31 Thread Martin Gainty
necessarily endorse content contained within this transmission. > Date: Sat, 31 Jan 2009 04:30:44 -0800 > From: rouxe...@yahoo.com > Subject: interceptor redirection problem > To: user@struts.apache.org > > Hi, > > here's my code. > I want to show an err

Re: interceptor redirection problem

2009-01-31 Thread Dave Newton
Please start new threads for new issues. François Rouxel wrote: I want to show an error message if it's impossible to commit. > But it seems my action still display the 'success' result. public String intercept(ActionInvocation invocation) throws Exception { String retour = Actio

interceptor redirection problem

2009-01-31 Thread François Rouxel
Hi, here's my code. I want to show an error message if it's impossible to commit. But it seems my action still display the 'success' result. can anybody help me? public String intercept(ActionInvocation invocation) throws Exception { String retour = Action.ERROR; try {