Hello, everybody!
Let's say I have GWT application with page MyPage.html.
In my application  I want to move user to regular html page ( to
login, for example). I just call

Window.Location.replace(urltoGo);

It works. But then in my servlet, which handles urltoGo, I want to
redirect user back to page he came from.
I don't want to hard code "MyPage.html" because it may have some extra
parameters.
So, I try to use HttpRequest referer header. And here I got a problem,
because it is always something like /myapplication/
27C5314FEA893B9864BD246F609D931E.cache.html

As far as I understand this is a url of frame where GWT code is
running.

My question is how can I redirect user to MyPage.html?

Thank you,
  Andrey

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to