This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User Agent String???