File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Popup Window

 
DVVN Sudhakara Rao
Greenhorn
Posts: 17
  • 0
  • 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: 6529
21
Java Linux Mac Scala Spring
  • 0
  • 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>
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic