Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Popup Window

 
DVVN Sudhakara Rao
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I want to know how to open a popup window with struts action not using javascript. In my struts application I have a jsp page which have 4 buttons with different actions. I want to open a popup window when this aciton is invoked.I don't want to use javascipt.
Sorry for my Bad English. I hope you got the problem right.
Thanks in Advance
 
Junilu Lacar
Bartender
Pie
Posts: 7316
45
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by DVVN Sudhakara Rao:
I want to open a popup window when this aciton is invoked. I don't want to use javascipt.


I don't see how you can solve your problem without using JavaScript. Popup windows are controlled by the browser. Struts has no direct control over the browser; it does all its work on the server side. As far as I know, you have to use JavaScript to open up a popup window. That or specify a target, which is still controlled by the browser.

<a href="..." target="myPopup">Click me to open up another window</a>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic