File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

popup in struts

 
vara prasad
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In Struts jsp i want to open popup windows using <html:link> tag. how can i do this.

Thanks
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you specify target="_blank", the link will show in a new window. Unfortunatly, though, using this method you have no control over the size or position of the new window. If you want to open a popup window with a specific size or position, you need to use javaScript. You would want to use the window.open() method within an onclick event.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic