wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Resolution Idependent JSP page 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 » Engineering » HTML, CSS and JavaScript
Bookmark "Resolution Idependent JSP page" Watch "Resolution Idependent JSP page" New topic
Author

Resolution Idependent JSP page

Lokajit Tikayatray
Greenhorn

Joined: Feb 27, 2007
Posts: 6
Hi,
I need to create a page in JSP that should fit to its screen. The whole page should be fitting into the window and should not require any scroll bar when minimised or should not be less than the screen when maximised.

Please help.

Thanks in advance.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by Lokajit Tikayatray:
Hi,
I need to create a page in JSP that should fit to its screen. The whole page should be fitting into the window and should not require any scroll bar when minimised or should not be less than the screen when maximised.


didn't get what you want to achieve..

web pages are cover the whole browser area for displaying the information.. or if you want to open the jsp outside the browser then it cannot possible.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

JSP is a server side technology.

I'm going to move this to our HTML/Javascript forum where client side issues are discussed.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Lokajit Tikayatray
Greenhorn

Joined: Feb 27, 2007
Posts: 6
Dear Saif uddin,
Thanks for your time.
I want to make a JSP page resolution independent. Means in whatever resolution you view that page that will always come fit to the browser.
Example, you click on the restore down button next to close of this browser
page you will get a horizontal scroll bar in the browser and if you maximize the page the scroll bar will disappear. But I want that the horizontal scroll bar should not come at anytime. If you shorten the browser the whole page should be seen in the smaller browser without
the help of horizontal scroll bar.

Thanks in advance.
Lokajit Tikayatray
Greenhorn

Joined: Feb 27, 2007
Posts: 6
Hi,
Just to add : You can click on 'Restore Down' button in this browser page and see how the page is getting fitted to the explorer. No horizontal scroll bar is coming. I want to have the same feature in my page.

Thanks...
Lokajit Tikayatray
Greenhorn

Joined: Feb 27, 2007
Posts: 6
Hi,
Just to add : You can click on 'Restore Down' button in this browser page and see how the page is getting fitted to the explorer. No horizontal scroll bar is coming. I want to have the same feature in my page.

Thanks...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
It is called you need to use percentages instead of hardcoded pixel values.

Eric
Lokajit Tikayatray
Greenhorn

Joined: Feb 27, 2007
Posts: 6
Thanks Eric.
I am using px every where in my code.
I will try with '%'.

Thanks again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resolution Idependent JSP page
 
Similar Threads
Resolution Idependent JSP page
How to Map vectors data in java into a Microsoft Excel Sheet
AutoScroll to selected row in a html table
please help with jsp design
How to retain the values selected in the jsp page when traversing back from a pop up jsp?