This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 41089
    
  44
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get client's screen resolution ?
 
Similar Threads
How to get client;s screen resolution ?
programatically control of screen resolution
Screen resolution
Screen rotated between portrait and landscape on the fly
How to change the resolution of screen using JavaScript