• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Mobile Development

Is there a way in JSP to determine which OS a web page is being run on? We have a web application that will run on a Pocket PC and on a Desktop. Currently, the developers are coding the screen to be in the top left corner so that it will show up right on a Pocket PC. When this website is pulled up on a desktop, it shows up on the top left corner of the screen. Is there a way to determine the OS/IE Version, so that the page can be displayed appropriately?

Thanks
0
kmargaba
Asked:
kmargaba
1 Solution
 
TimYatesCommented:
You could do it like the following:

http://www.theserverside.com/articles/article.tss?l=BestBothWorlds

And have a completely different XSL template for different browsers (and their respective screen sizes)

Or else (as this is a lot of work), you could design your page to look ok on many browsers (maybe using CSS)

This talks about that direction:  http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_21076535.html
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now