java - How to detect web browser name and version? -



java - How to detect web browser name and version? -

looking java library converts user-agent header browser name , version.

i need info in order understand whether can send xml+xsl browser, or should transformation xhtml on server.

i need info in order understand whether can send xml+xsl browser, or should transformation xhtml on server.

it seems best approach content negotiation. when run restaurant (server), don't inquire diner (ua) name is, inquire them what want eat (content type)!

java user-agent

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -