Window.Location.getHostName() doesnt return you IP Address all the times.
Inet4Address cannot be used in the client code.
Correct me , if i am wrong.
On Wed, Jul 8, 2015 at 9:50 PM, Lars <lars.gemeinhardt@gmail.com> wrote:
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")ThanksNaveen
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.
Regards
--------------
VaraKalyanMTS 2
NetApp India
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