when i creat a web application,i fond some problem with the jasperreport soft.first is print problem:when i call this code[code:1]JasperPrintManager.printReport("address.jrprint", true)[/code:1]then it run but it only called printer in the server side,when you run it in the clent side,the called printer is in the server side,it can't called for a client printer,why!second is JasperDesignViewer problem:when i called this code:[code:1]JasperDesignViewer.viewReportDesign("address.jasper", false);[/code:1]it can run and show dialog in the server side(if user run web in the clent side),and when i close this fram dialog,and then my Tomcat is closed,tomcat log is follow this:[code:1]2006-11-06 11:03:25 StandardContext[/sASP]Loading Spring root WebApplicationContext2006-11-06 11:03:34 StandardContext[/sASP]Loading WebApplicationContext for Spring FrameworkServlet 'action'2006-11-06 11:07:08 StandardContext[/sASP]Closing WebApplicationContext of Spring FrameworkServlet 'action'[/code:1]this is when i close the viewer then red code is added the log.txt,so my tomcat is closed,why?can anyone help me?I give my class for the problem! [file name=code.txt size=15448]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/code.txt[/file]Post edited by: axiang_2898, at: 2006/11/07 01:20 Post edited by: axiang_2898, at: 2006/11/07 01:40