aspose file tools
The moose likes Struts and the fly likes Open new window throught struts action Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Open new window throught struts action" Watch "Open new window throught struts action" New topic
Author

Open new window throught struts action

Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 103
hi,

I am using struts 1.3, I have two forms..there is a button on a form which will open new window for another form.
What i want is whenever i click on button it should save first form in session and then new window should be pop up.but at the same time my parent window should not be refreshed.?
how to do this programmatically.?


Thanks
user101
Problems And Solutions - Algorithms
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56205
    
  13

Put target="_blank" on the form element.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 103
Thanks it works.

But when new browser opens it show me location bar,toolbar etc.
how to disable that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open new window throught struts action
 
Similar Threads
How to persist data of child window form
pass control from child page to parent page
opening new window in jsp
regarding images as buttons in the form
submit form of child window and show the new screen in parent window.