Off-topic -- how can I get the client browser resolution in servlet?
THAPA Damar <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Since the XMLC/barracuda users can adjust the image sizes, or even use
different images, easily based on the client's browser resolution, if
known, I am asking this to the Barracuda mailing list, hoping some one
may have done this before.
In javascript the following code provides the resolution height and width:
var SCRwidth = window.screen.width;
var SCRheight = window.screen.height;
How can I get the same thing in Java? Any java, or barracuda, classes
for this purpose?
Any pointers would be highly appreciated.
With regards,
Damar