velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Desbonnet" <jdesbon...@gmail.com>
Subject Re: Check Browsers
Date Wed, 24 May 2006 17:37:26 GMT
getHeader("User-Agent") on the HttpServletRequest object will give you
that information. So put either the request object in the velocity
context and call getHeader() on it, or get the agent string first and
put that in the context.

Joe.


On 5/24/06, Ruben Fragoso <ruben.fragoso@tap.pt> wrote:
> Hi
>
> I would like to know if it is possibile, to check the browser using
> velocity.
>
> Thank you in advance.
>
> Ruben
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message