Meaningless Drivel is fun!*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I change the browser window size on "sendRedirect"?