Hi everyone,
I am using GWT 2.5.1 and I am accesing to a .war depolyed with Tomcat 7.0.32, using the browser of a Kindle paperwhite model No. EY21.
The problem is that GWT cannot get the user-agent of the Kindle correctly, I mean, I get the following values:
From my server: getMyThreadLocalRequest().getHeader("user-agent") --> Mozilla/5.0 (X11; U; Linux armv7l like Android; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/533.2+Kindle/3.0+ --> ok!
From the web www.whatsmyuseragent.com --> Mozilla/5.0 (X11; U; Linux armv7l like Android; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/533.2+ Kindle/3.0+ --> ok !
From GWT 2.5.1 library: Window.Navigator.getUserAgent() --> Mozilla/5.0 (X11; ; U; Linux armv7l; en-us) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ --> ?¿?¿
So, I think that the GWT function is not getting the correct value for the user agent of the Kindle paperwhite browser...
Any idea??
Thanks a lot in advance!!
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/groups/opt_out.
No comments:
Post a Comment