File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Checking Browsers... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Checking Browsers..." Watch "Checking Browsers..." New topic
Author

Checking Browsers...

Scott Batchelor
Greenhorn

Joined: Jul 07, 2003
Posts: 11
Could someone give me an example of how I would check for a...lets say IE browser in a servlet.
I am new here and pretty new to Java so any help is greatly appreciated.
SB
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12836
    
    5
As I recall, thats the "User-Agent" header that you can get from the request with
getHeader("User-Agent");
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checking Browsers...