*
The moose likes Servlets and the fly likes User Agent String??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "User Agent String???" Watch "User Agent String???" New topic
Author

User Agent String???

Jon Tsatsonis
Greenhorn

Joined: May 10, 2000
Posts: 4
Does any one know how you can extract this using Servlets???
Thanks,
Jon.
henley
Greenhorn

Joined: Jul 06, 2000
Posts: 16
String browser = request.getHeader("User-Agent");
Heitor Bembom
Greenhorn

Joined: Jul 11, 2000
Posts: 10
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
 
Don't get me started about those stupid light bulbs.
 
subject: User Agent String???