Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Forward in Struts  RSS feed

 
Shashidahanu Iyyanar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!