Saturday, February 26, 2011

Re: Redirecting to jsp

Any help on this pls.

On Fri, Feb 25, 2011 at 8:58 PM, Deepak Singh <> wrote:

In my celltable, i have one button column.
In the fieldAdapter(), i am opening a new window using" url", "_blank", "");
It opens a new window withe the url using the http get() method. I want to open this window with http post() method. How can i acheive this ?
I think it is not possible at the client side using java script, so i though it to redirect to a jsp as follows

HttpServletRequest req = getThreadLocalRequest();
HttpServletResponse res = getThreadLocalResponse();
res.addHeader("Referer", "");
try {
} catch (IOException e) {

but this does not work. Nothing happens when i click the button.

How it is possible to redirect to a jsp page from gwt?


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment