File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Resizing a JSP Window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Resizing a JSP Window" Watch "Resizing a JSP Window" New topic

Resizing a JSP Window

abinash das
Ranch Hand

Joined: Apr 26, 2008
Posts: 52
In my Application i am sending a request to a JSp page,
The Content of the JSP Page is only two fields,
So, can i set the jsp page window size some where such that it will appear like a dialog Box.

Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
You can use Javascript for this.

I would add, if it is not a window initiated by the webapplication (e.g., then resizing the user's window is very bad for the user experience. I wouldn't recommend that.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63851

Moved to the HTML/JavaScript forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Resizing a JSP Window
jQuery in Action, 3rd edition