That exception is thrown when the response has been committed. You can't do a redirect after you start sending content.

-Adrian

On 6/7/2010 4:36 PM, eric wrote:
Hi,

(I havn't had a response from the dev mailing list)

To avoid error or multiple urls for one page (SEO) or no content
I check the browser url with the original page url
If the bowser url is wrong, i want to redirect the visitor to the right
url
I don't want to use an HTML refresh.

If a call "response.sendRedirect('newUrl')" in groovy or ftl file
I have the error "IllegalStateException"

Do you have an idea ?
There is an other solution ?

Thanks

Eric

Reply via email to