• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 685
  • Last Modified:

Server Side Java Browser Detection

Hello,

I need to detect what browser a current user is using on the Java server side.  What is the best approach for this?
0
cgray1223
Asked:
cgray1223
3 Solutions
 
objectsCommented:
check the user agent request header
0
 
Sathish David Kumar NArchitectCommented:
String browserType = request.getHeader("user-agent");
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now