Hi,
In my celltable, i have one button column.
In the fieldAdapter(), i am opening a new window using Window.open(" 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", "http://www.domain.com");
try {
res.sendRedirect(param);
} catch (IOException e) {
e.printStackTrace();
}
but this does not work. Nothing happens when i click the button.
How it is possible to redirect to a jsp page from gwt?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.