Posted by mario1204
on September 30, 2010 at 1:38 AM PDT
On a JSP page I added a printbutton which opens a printdialog. Via the struts framework I retrieve the fields on the JSP page in my java classes (controllers) which are running on locally installed tomcat server. In the java controller I am calling the standard Java dialogs java.awt.print.PrinterJob:printDialog or javax.print.ServiceUI.printDialog.
The printDialogs are shown and are modal (they interrupt my thread and I can not proceed working on the webpage shown in IE 7) and the printing code works perfectly. Problem is that the printdialogs (tried them both) are hidden under the webpage. How can I bring them on top of my internet explorer screen? Strange thing is that when I debug the controller coding the printdialog is shown in front of the webpage. How can this behavior be explained?
Message was edited by: mario1204