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,150
  • 4
  • 24
  • 34
  • 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ć
  • 63,078
  • 28
  • 122
  • 148
  • 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