>I assume you're talking about the height and width of the browser window?
>That information is only available to client-side technologies like
>JavaScript and Java Applets.
>
>If you REALLY needed to know this, you could put JavaScript code in a page,
>and have that info passed back to the servlet in the next request as a
>cookie or form parameter.  But what will you do if they resize their window
>frequently like me, or have scripting disabled?

You could make a simple applet that uses a socket to talk back and forth to
the server. But, I believe this keeps the connection open, which degrades
bandwidth..not a wise choice.


Kevin Duffey
Software Engineer
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to