aspose file tools
The moose likes Struts and the fly likes popup in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "popup in struts" Watch "popup in struts" New topic
Author

popup in struts

vara prasad
Ranch Hand

Joined: Dec 21, 2004
Posts: 47
Hi,

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

Thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: popup in struts
 
Similar Threads
Refresh parent window without closing popup with struts validation
Display results in a popup window
data submit on popup and refresh parent page
Struts and Popup
popup window loses variable