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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
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: 104
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: 61433
    
  67

Put target="_blank" on the form element.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Satyajit Bhadange
Ranch Hand

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

But when new browser opens it show me location bar,toolbar etc.
how to disable that.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Open new window throught struts action