[Yanel-usage] automatic redirect/refresh
Michael Wechner
michael.wechner at wyona.com
Tue Jul 5 14:26:22 CEST 2011
Am 05.07.11 13:44, schrieb Bettina Messmer:
> Hi,
>
> I'm implementing a getView method and I want that the link, provided in the view has a automatic redirect. There fore I added the following header.
>
> <html xmlns='http://www.w3.org/1999/xhtml'>
> <head>
> <meta http-equiv=refresh' content='0;url=de/index.html'/>
> </head>
> ....
> </html>
>
>
>
> Does anybody know why it doesn't work?
since this path is relative it will be applied accordingly, e.g.
Assume you are on a page with URL
http://127.0.0.1:8080/yanel/MY_REALM/en/index.html
then the above redirect will go to
http://127.0.0.1:8080/yanel/MY_REALM/en/de/index.html
which probably does not exist.
HTH
Michael
> greets and thanks a lot,
>
> Bettina
More information about the Yanel-usage
mailing list