Solved

Server Side Java Browser Detection

Posted on 2011-03-22
3
629 Views
Last Modified: 2012-06-21
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
Comment
Question by:cgray1223
3 Comments
 
LVL 92

Assisted Solution

by:objects
objects earned 166 total points
ID: 35195986
check the user agent request header
0
 
LVL 47

Accepted Solution

by:
for_yan earned 167 total points
ID: 35195993
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 167 total points
ID: 35196106
String browserType = request.getHeader("user-agent");
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question