• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

User Agent String???

 
Jon Tsatsonis
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does any one know how you can extract this using Servlets???
Thanks,
Jon.
 
henley
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
String browser = request.getHeader("User-Agent");
 
Heitor Bembom
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
request.getHeader("User-Agent");
Is returning "null" if I use a Mac. It works fine with Windows. Does anybody knows why it is not working on Macs? Is there any other method I can use?
Thanks,
Heitor Bembom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic