File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Finding the type browser from Servlet
Joined: Nov 21, 2000
Nov 22, 2000 08:17:00
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
Joined: May 05, 2000
Nov 22, 2000 09:13:00
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:
subject: Finding the type browser from Servlet
Applets and Browsers
Swings in Browser
File-download naming problem in IE 6
how to know whether the browser is IE or netscape
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015