aspose file tools*
The moose likes Servlets and the fly likes Browser Sniffer Tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Browser Sniffer Tool " Watch "Browser Sniffer Tool " New topic
Author

Browser Sniffer Tool

Satheesh Satti
Greenhorn

Joined: Sep 12, 2005
Posts: 10
Hi,

I have a servlet which serves different HTML for different browser's(Based up on the browser type,version etc). Does any body know any browser sniffer (from any open source community like jakarta). I feel that this is a common problem many people would face I wonder if their isn't one already available. I didn't want to reinvent the cycle.
I would greatly Appreciate any help.

Thanks,
Satheesh.
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
I know you can get that info fairly easily (offhand I think it's in the HTTP Request), but many browsers (firefox, oprah, ect...) can present themselves as whatever the user wishes them to (I can choose from several different versions of IE, mozilla, oprah, and a couple other I think from firefox).
Satheesh Satti
Greenhorn

Joined: Sep 12, 2005
Posts: 10
http://wiki.apache.org/jakarta-velocity/BrowserSniffer
This is what I was looking for.

Thanks,
Satheesh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Browser Sniffer Tool
 
Similar Threads
Struts and Mozilla
How to get the HTTP Header from the request?
Java ranch not implemented in HTTPS
Getting Connection Refused on HttpURLConnection
problem opening PDF files in different browsers