• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Resolution Idependent JSP page

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSP is a server side technology.

I'm going to move this to our HTML/Javascript forum where client side issues are discussed.
 
Lokajit Tikayatray
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is called you need to use percentages instead of hardcoded pixel values.

Eric
 
Lokajit Tikayatray
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Eric.
I am using px every where in my code.
I will try with '%'.

Thanks again.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic