"Quickening the Pace of JSP Development" Tuesday, March 09, 2010
Home Products Pricing Company Contact Us Samples Download Forums Javadoc Customers
    « Form Tags »
    « I/O Tags »
    « Format Tags »
    « Utility Tags »
Browser Sniffer Tag Example

The <dotj:sniffer> tag can be used to query the user agent (web browser or other Internet device) to test which version it is. It is a scriptable tag and can be used to conditionally include HTML content or script.

Raw User-Agent data in your HTTP header:
CCBot/1.0 (+http://www.commoncrawl.org/bot.html)

Major Version:
1

User-Agent:
You are using a browser that I can't identify.

Version:
I don't recognize the version of your browser.

Javascript Version:
0.0

Mozilla:
false

Using Gecko:
false




          Back to Samples page


home : products : pricing : company : contact us : samples : download : forums : customers

Copyright © 2000-2004 dotJ Software Inc. All rights reserved.