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 {

Re: redirection problem with name is input

2008-12-12 Thread Andy Sykes
I could be wrong, but I thought you could only pass the FieldErrors back to a JSP using a dispatcher result, not a redirect-action. Andy. On 12 Dec 2008, at 12:34, Seshagiri V wrote: Hi All, Mapping with redirection type and name is "input" and value is null but I am not able to valida

redirection problem with name is input

2008-12-12 Thread Seshagiri V
Hi All, Mapping with redirection type and name is "input" and value is null but I am not able to validations errors in jsp. Please follow code. viewPoPIndex.action /p

Re: redirection problem

2008-03-15 Thread Martin Gainty
ide //some dojo javascript to test client functionality.. var headers=http.getAllResponseHeaders(); var ret={}; ret.toString=function() { return headers; }; var key_value=headers.split(/[\r\n]+/g); for(var i=0;i To: "Struts Users Mailing List" Sent: Saturday, March 15, 2008 5:50 AM Subject:

Re: redirection problem

2008-03-15 Thread Jeromy Evans
This discussion should give you some ideas: http://www.nabble.com/Interceptors-with-Ajax-Actions-td15706322.html matthieu martin wrote: Hi all. I am handling login issue through an interceptor. Basically it looks in the session if a user entry exists before letting you go through to the admin

redirection problem

2008-03-14 Thread matthieu martin
Hi all. I am handling login issue through an interceptor. Basically it looks in the session if a user entry exists before letting you go through to the administration panels. This works fine. In my admin, I use a lot of Ajax (with dojo) so I never have a single full page reload. I use submits or