This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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.
 
 
subject: Forward in Struts
 
Similar Threads
opening popup window conditionally
popup window loses variable
Struts popup problem
Refresh Problem
Refresh parent window without closing popup with struts validation