*
The moose likes Struts and the fly likes Forward in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Forward in Struts" Watch "Forward in Struts" New topic
Author

Forward in Struts

Shashidahanu Iyyanar
Ranch Hand

Joined: Jun 22, 2005
Posts: 37
I have a main page which opens up a popup.The popup page has a submit button which calls a action class for doing some action.The forward jsp of the action class should open in the main page while closing the popup window.Please suggest a solution for this ASAP without using Javascript.Thanks in advance.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

You have to define the target of the popup's form submission as the original page and if you want it to close the popup automatically, you must use javascript for that.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Forward in Struts
 
Similar Threads
Struts popup problem
popup window loses variable
Refresh Problem
Refresh parent window without closing popup with struts validation
opening popup window conditionally