Re: response.sendRedirect() failing mysteriously in struts application

2008-01-09 Thread David Delbecq
The illegalStateException while sendRedirect happens because some content has already been submitted to client, thus the http code (OK) was already send and it's too late to change headers. Check your action don't do make output in the action. Thomas Okken wrote: Hi all, I'm running into a p

response.sendRedirect() failing mysteriously in struts application

2008-01-09 Thread Thomas Okken
Hi all, I'm running into a problem in a struts application I'm working on. In my struts-config.xml, I have this action-mapping: The RegistrationAction.execute() method takes several request parameters and uses them to create an account; when this is successf