jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Forward in Struts" Watch "Forward in Struts" New topic

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

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
Refresh Problem
popup window loses variable
opening popup window conditionally
Refresh parent window without closing popup with struts validation
Struts popup problem