File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Open new window from struts with session access 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 from struts with session access" Watch "Open new window from struts with session access" New topic
Author

Open new window from struts with session access

Lee Wright
Greenhorn

Joined: Nov 29, 2004
Posts: 11
Does anyone know how to open a new window from within the actionform?

I need to have a new window created when a user clicks on an image link. I have managed to do it using the <html-el:link target="_blank" action="viewcode?index={$index}"> syntax.

However, in the action handler for viewcode I do not see anything that was in the session scope of the previous page.

Basically I need to be able to add items to a form array from a separate window form.

Thanks in advance

Lee
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61419
    
  67

Moving to Web App Frameworks.
[ December 08, 2004: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Open new window from struts with session access