tags:

views:

412

answers:

1

Hello there,

As you may know, res.sendRedirect(url) on the servlet side does not work because the GWT client does not process it.

Does anybody knows how to do this?

Thanks you. Daniel

+3  A: 

Window.Location.assign(newUrl)

But in general, you want to avoid doing so, because you would loose all client state. You are better off changing the view via code, and then updating History (which updates the fragment url - the portion of the url after #).

sri