Browser Detection using Java
Posted on 2004-04-30
I am very very new to Java programming and was hoping someone could help me. I am sure what i am doing is really simple but at the moment it is doing my head in.
I need to be able to detect which browser and version is being used to view my jsp.
I have tried a couple of browser sniff examples using JSPs and Java Beans but they did not work.(have no idea why)
I am limited to using TOMCAT and J2SE and cannot use J2EE. Would prefer examples using Servlets or just JSPs, so any working examples or code snipets would be great.
Thanks for your help