This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes How to get client's screen resolution ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to get client Watch "How to get client New topic
Author

How to get client's screen resolution ?

omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
Hi guys,

Can you please help me to know the screen resolution of client's browser on server side ? i am using Struts 1.2.8, jsp 1.2 and servlet 2.3 specification. Please let me know. I have found ways using javascript, but wihtout using javacript, ...can the client's browser info be obtained from the http request header ?

Million thanks in advance
Omkar Patkar.


Thanks and Regards
Omkar Patkar (SCJP 1.4)[url]http://javacollectionsnotes.blogspot.com[/url] | [url]http://omkar-myscjpexp.blogspot.com[/url]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - updated with new look and Ping home screen widget
omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
Actually, i was not sure in which thread this question would be most apt, so i posted this question here also. ......my apologies !


Thanks and Regards
Omkar Patkar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get client's screen resolution ?
 
Similar Threads
programatically control of screen resolution
Screen rotated between portrait and landscape on the fly
Screen resolution
How to get client;s screen resolution ?
How to change the resolution of screen using JavaScript