• Post Reply Bookmark Topic Watch Topic
  • New Topic

Browser type  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!