Hi,

    you can obtain the user agent on server side with
request.getHeader("User-Agent"). To get screen resolution
i think you should put a hidden form field in a page, fill it with the
screen resolution using javascript and then pick the value on server side.

Cheers

    K

----- Original Message -----
From: "franck delarue" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 4:01 PM
Subject: WIDTH OF SCREEN


> hi everyone,
> I know there is a way of knowing the browser of the
> client and choosing the good xsl file for this browser
> (i've tried it) but I would like to do  a few more :
> to know the width of the screen of the client for
> differents displays.
> Is there a way to do this ?
>
> Thanks in advance.
>
> =====
> __________________________________    ___      ____          \
\  |    \   /    |               \  F R A N C K     D E L A R U E  \  \
\_/    /                   /  + - + - + -     + - + - + - +  /   \
//_________________________________/     \       /
\_____/
>
> ___________________________________________________________
> Do You Yahoo!? -- Pour faire vos courses sur le Net,
> Yahoo! Shopping : http://fr.shopping.yahoo.com
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to