aspose file tools*
The moose likes JSP and the fly likes Detecting IE8 in JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Detecting IE8 in JSP page" Watch "Detecting IE8 in JSP page" New topic
Author

Detecting IE8 in JSP page

jasdeep parmar
Greenhorn

Joined: Oct 06, 2008
Posts: 20
Hi,

For my application I need to detect the version of Clients browser. If it is IE8 then redirect it to different page.
I am using request.getHeader( "User-Agent" ); to get the browser and its version but the browser although is IE8 is
reporting itself as IE7
Is there another way to detect the browser version?

thanks
jhon masco
Ranch Hand

Joined: May 13, 2010
Posts: 93
HI
I did something similar but I did not need to know the version (only the browser)
Please read these articles and let me know if get the solution.

http://www.ericgiguere.com/articles/how-to-detect-internet-explorer.html

http://msdn.microsoft.com/en-us/library/ms537503(VS.85).aspx

I could give you a suggestion but I need to see you code used for that.

Hasta Luego
 
Consider Paul's rocket mass heater.
 
subject: Detecting IE8 in JSP page