Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Checking Browser type & Version Number
Checking Browser type & Version Number [message #1015802] Sun, 03 March 2013 05:32
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Hi,

I realized that we can issue this call to get some header information of the HttpServletRequest.

RWT.getRequest().getHeader("User-agent");

And these are two examples of return.

Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120606 Firefox/10.0.5
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5

Is there a reliable way (such as other API calls) to retrieve the browser version number other than parsing the string above?

Thanks,
Ronald
Previous Topic:Checking Browser type & Version Number
Next Topic:Checking Browser type & Version Number
Goto Forum:
  


Current Time: Sat Dec 20 08:50:21 GMT 2014

Powered by FUDForum. Page generated in 0.03980 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software