Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Redirection - RWT.getResponse().sendRedirect()
Redirection - RWT.getResponse().sendRedirect() [message #555339] Thu, 26 August 2010 11:33 Go to next message
Michal Tkacz is currently offline Michal TkaczFriend
Messages: 105
Registered: July 2009
Senior Member
I'm trying to redirect user to another site. I tried

RWT.getResponse().sendRedirect("http://example.com/");

but I only get the message dialog saying "The server seems to be
temporarily unavailable. Would you like to retry?" and then if I click
OK - another message dialog saying "Multiple browser-instances or
browser-tabs per session are not supported. You may click OK for
restarting the session.".

All I found in the newsgroup is a thread "Redirect user to another page
after closing application" from 2008 in which Frank Appel suggests to
create a Browser widget and use <meta http-equiv="refresh"> tag to
redirect the user.

This seems like an overkill so I wonder - is it still the only available
solution to the problem? If so, is there a bugzilla for this? I couldn't
find one.

Michal
Re: Redirection - RWT.getResponse().sendRedirect() [message #638005 is a reply to message #555339] Tue, 09 November 2010 15:51 Go to previous message
Michal Tkacz is currently offline Michal TkaczFriend
Messages: 105
Registered: July 2009
Senior Member
It looks like the problem hasn't been solved yet so I filed bug 329818.

Michal

On 08/26/2010 01:33 PM, Michał Tkacz wrote:
> I'm trying to redirect user to another site. I tried
>
> RWT.getResponse().sendRedirect("http://example.com/");
>
> but I only get the message dialog saying "The server seems to be
> temporarily unavailable. Would you like to retry?" and then if I click
> OK - another message dialog saying "Multiple browser-instances or
> browser-tabs per session are not supported. You may click OK for
> restarting the session.".
>
> All I found in the newsgroup is a thread "Redirect user to another page
> after closing application" from 2008 in which Frank Appel suggests to
> create a Browser widget and use <meta http-equiv="refresh"> tag to
> redirect the user.
>
> This seems like an overkill so I wonder - is it still the only available
> solution to the problem? If so, is there a bugzilla for this? I couldn't
> find one.
>
> Michal
Previous Topic:Custom widget question
Next Topic:Autoscroll in TreeViewer
Goto Forum:
  


Current Time: Thu Apr 25 19:32:06 GMT 2024

Powered by FUDForum. Page generated in 0.03638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top