You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by eric <er...@free.fr> on 2010/06/05 14:42:15 UTC
Redirection after checking browser url
Hi,
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