Wednesday, July 8, 2015

Re: Getting IP Address

Use the URL from the browser => Location.getHostName() :-)

Am Mittwoch, 8. Juli 2015 17:25:20 UTC+2 schrieb Juan Pablo Gardella:
Check at http://www.gwtproject.org/doc/latest/RefJreEmulation.html for which classes are supported in client side.

On 8 July 2015 at 12:17, naveen gayar <navi...@gmail.com> wrote:
Hi

GWT is not accepting the following and giving the compilation errors.
1.Inet4Address.getLocalHost().getHostAddress()
2.Runtime.getRuntime().exec("hostname")




Thanks
Naveen

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment