0

How can I find my user's OS in my web app, using Spring-mvc framework ?

I assume I can scan the user-agent value, but is there any existing solution/lib ? (there is so much possible values for each os...)

Thanks

Quentin
  • 3,030
  • 4
  • 22
  • 33
  • The answer can be found here: http://stackoverflow.com/questions/1326928/how-can-i-get-client-infomation-such-as-os-and-browser – Mr.Fireman Jan 17 '17 at 15:14

1 Answers1

0

JavaScript can do a browser and OS detection. Use it to initialize a hidden field which is submitted through some form or sent to the server using AJAX.

Boris Pavlović
  • 60,971
  • 26
  • 119
  • 144
  • Yes, but I'd like to do the detection directly in my web app, since the information is already sent throw the user-agent. – Quentin Jun 30 '11 at 15:33