aspose file tools*
The moose likes Servlets and the fly likes Finding the type browser from Servlet 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 "Finding the type browser from Servlet" Watch "Finding the type browser from Servlet" New topic
Author

Finding the type browser from Servlet

Chandar Vel
Greenhorn

Joined: Nov 21, 2000
Posts: 22
Hello All
How can I find out the client's Browser name (whether IE Or netscape or AOL browser) from a servlet/jsp. Please keep in mind that it should handle older versions of IE & Netscape as low as 4.0.
Thanks a bunch
Chandar
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
req.getHeader( "User-Agent" )
where req is the HttpServletRequest object.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding the type browser from Servlet
 
Similar Threads
Applets and Browsers
Internet Explorer
File-download naming problem in IE 6
Swings in Browser
how to know whether the browser is IE or netscape