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

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

Re: Redirection

2006-01-07 Thread Niall Pemberton
Currently (i.e. Struts 1.2.x) this is done in the processForwardConfig() method of the RequestProcessor - if the ActionMapping has "redirect" set to true it calls the sendRedirect(url) method - which as I understand it is a convenience method for setting a "302" status and "location" header. Curre

Re: Redirection

2006-01-07 Thread Dakota Jack
Hi, Eric, I think you have to go back through the code and find out where the status codes are handled. I have to admit that I don't know. If someone else does, this would be great information to have. This is an interesting problem and one that I always put on the back burner. Maybe now is th

Re: Redirection

2006-01-07 Thread Eric Jain
Mark Lowe wrote: Not sure if i've understood what you're after, but you can just write to the reponse (as you would in a normal servlet) and return null for you action forward. Your webapp configuration will do the rest from there like with any webapp. Yes, that's a solution. On the other hand

Re: Redirection

2006-01-07 Thread Mark Lowe
Not sure if i've understood what you're after, but you can just write to the reponse (as you would in a normal servlet) and return null for you action forward. Your webapp configuration will do the rest from there like with any webapp. On 1/7/06, Eric Jain <[EMAIL PROTECTED]> wrote: > Is there any