[Aimmath-developers] Browser detection
Brought to you by:
gustav_delius,
npstrick
|
From: Neil S. <N.P...@sh...> - 2003-07-29 09:23:22
|
Hi All,
I don't have a copy of Greg's browser detection code, because I mangled
various
things trying to read my email while away from Sheffield; but I did read his
outline of how it works.
I think that the right mechanism for browser detection is for the servlet to
invoke request.getHeader("User-Agent") to return a string describing the
browser.
(See under the HttpServletRequest class at
http://java.sun.com/products/servlet/2.3/javadoc/index.html). I don't think
that
there is any reason to use hidden parameters or session management.
Neil
|