Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Server Side Java Browser Detection

Posted on 2011-03-22
3
Medium Priority
?
661 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 664 total points
ID: 35195986
check the user agent request header
0
 
LVL 47

Accepted Solution

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

Assisted Solution

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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

927 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