Re: [Aimmath-developers] Browser detection
Brought to you by:
gustav_delius,
npstrick
|
From: Greg G. <gr...@ma...> - 2003-07-29 16:03:01
|
On Tue, 29 Jul 2003, Neil Strickland wrote:
> Hi All,
>
> I don't have a copy of Greg's browser detection code, ...
Hi Neil,
Welcome back ... do you want it?
> 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.
I thought I tried something like that (before trying the current
approach) and ran into some problem with static variables that I didn't
understand, but you're probably right ... my knowledge of java is not great.
Are you saying it can be done without pasting javascript into the page
also?
Regards,
Greg
|