Solved

Server Side Java Browser Detection

Posted on 2011-03-22
3
631 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

Title # Comments Views Activity
ejb example issues 3 28
login form jsp example 2 37
jsp insert to database example 2 47
SequenceInputStream example 3 19
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

830 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