Meaningless Drivel is fun!
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
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")
I agree. Here's the link:
subject: Jsp Get BrowserType
It's not a secret anymore!