This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Jsp Get BrowserType Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Jsp Get BrowserType" Watch "Jsp Get BrowserType" New topic

Jsp Get BrowserType

Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
I want to get the browser type from inside a JSP page to store it in a variable. I can find it but I know that there has to be a way. Anyone know how?

Joined: Aug 28, 2001
Posts: 29

use request.getHeader("User-Agent")
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Jsp Get BrowserType
Similar Threads
Getting context parameters
JSTL not working
Enumeration Object problem
use of <bean:write> and <bean:message> ???
Drop down box not working in IE7 but very well displayed in Mozzila