You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Davide <da...@aliceposta.it> on 2004/01/03 01:54:59 UTC
how to get the user agent in an xsp page?
Hi, my question il simple:
how to get the user agent in an xsp page?
Best Regards, Davide
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: how to get the user agent in an xsp page?
Posted by Simon Mieth <si...@t-online.de>.
On Sat, 03 Jan 2004 01:54:59 +0100
Davide <da...@aliceposta.it> wrote:
> Hi, my question il simple:
>
> how to get the user agent in an xsp page?
>
> Best Regards, Davide
>
Hi,
<xsp-request:get-header name="user-agent" as="xml"/>
or this
<xsp:expr>request.getHeader("user-agent")</xsp:expr>
Best regards,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org