This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 60774
    
  65

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open new window from struts with session access
 
Similar Threads
Are there any javascript thing in struts aside from client side validation?
session issue with multi tabs in a browser
submit form of child window and show the new screen in parent window.
Html POST & GET
pass control from child page to parent page