jQuery in Action, 3rd edition
The moose likes Struts and the fly likes New browser window in struts?! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "New browser window in struts?!" Watch "New browser window in struts?!" New topic

New browser window in struts?!

RobertC RobertC

Joined: Aug 07, 2006
Posts: 1
How to open a new browser window in struts?
I use actionMapping.findForward() in the Action-class to shows the results in the same window. But how can I display the results in the new window?!
Dom Lassy
Ranch Hand

Joined: May 05, 2006
Posts: 181
You don't spawn new windows via struts. You need to use javascript to open a new window with a given url.


If it is from a form submittal, you can use target="_blank".
[ August 07, 2006: Message edited by: Dom Lassy ]
I agree. Here's the link: http://aspose.com/file-tools
subject: New browser window in struts?!
jQuery in Action, 3rd edition