This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 63225
    
  69

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Open new window from struts with session access
 
It's not a secret anymore!