This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Can I change the browser window size on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Can I change the browser window size on "sendRedirect"?" Watch "Can I change the browser window size on "sendRedirect"?" New topic

Can I change the browser window size on "sendRedirect"?

Chris Stewart
Ranch Hand

Joined: Sep 29, 2001
Posts: 124
I am posting to a servlet, processing some information, and sending the user to a new browser on a new server. The result of this is a flash application that the user can access. Everything is working as expected. However, I'd like to be able to resize the window and remove toolbars. Things I'd normally do in JavaScript but can't currently because of the required processing in the servlet. Does anyone know if this is possible in the servlet?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63202

No. It can only be done by opening a new window with javaScript.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ajith Prasad
Ranch Hand

Joined: Aug 22, 2006
Posts: 66
you can resize the window when body loads, but in servlet, i don't think so
Have you checked out Aspose?
subject: Can I change the browser window size on "sendRedirect"?
It's not a secret anymore!