A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Browser type
Farouk Mohamed1
Ranch Hand
Joined: Jul 26, 2001
Posts: 113
posted
Sep 14, 2001 07:09:00
0
Hi all
I would like to know how i can find out the browser which the client uses using jsp code. Please can you send me an example to find out whether he is using ASP or
JSP
Quick response would be appreciated
Farouk
sanj singh
Ranch Hand
Joined: Jun 30, 2001
Posts: 129
posted
Sep 14, 2001 07:41:00
0
Hi Farrouk
try
request.getHeader("User-Agent");
regards
sanj
I agree. Here's the link:
http://aspose.com/file-tools
subject: Browser type
Similar Threads
Data not insert.
How to find out cgi variables in java?
Can I use RequestDispatcher to open a new browser window
session timeout
How to detect browser disconnection?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter