Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Browser type

 
Farouk Mohamed1
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Farrouk
try
request.getHeader("User-Agent");
regards
sanj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic