Jump to content
We've recently updated our Privacy Statement, available here ×

axiang_2898

Members
  • Posts

    9
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by axiang_2898

  1. Hi,This problem I had been to check out!if the dialog can't to show then the securtiy of the Java,you must be add some code in the java path! then you want to know more!please see my blog: springside.javaeye.com
  2. hi, I am facing problem in generating report in client side it is displayed in the server side can you send me the coding how to solve the problem,my e_mail is :axiang_2898@126.com,if you have,please give me,thank you very much!
  3. 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
  4. I can run it in the server side,i called this code: Code:JasperPrintManager.printReport("address.jrprint", true);code:1]then this code in my server side and run it in the client side,but it called printer and dialog in the server side,it can't called client side show we see!why?can one help me? Post edited by: axiang_2898, at: 2006/11/07 00:41 Post edited by: axiang_2898, at: 2006/11/07 00:42
  5. I try it use the demo/printservice,so i write it in spring framwork web,so i write it like this: Code:if(methodName!=null&&methodName.equals("print"«»)){ PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet(); printRequestAttributeSet.add(MediaSizeName.ISO_A4); PrintServiceAttributeSet printServiceAttributeSet = new HashPrintServiceAttributeSet(); JRPrintServiceExporter exporter = new JRPrintServiceExporter(); exporter.setParameter(JRExporterParameter.INPUT_FILE_NAME, path+"pages/reportmodel/"+userCreatpath+"/仓库盘点报表(汇总).jrprint"«»); exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, printRequestAttributeSet); exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE_ATTRIBUTE_SET, printServiceAttributeSet); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE); exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.TRUE); exporter.exportReport();then i write my view is like this(usering a javascript click evt): Code:[code]function cmdView(){ reportbmCheckoperateList.methodName.value = "view"; reportbmCheckoperateList.submit(); } then it can run in server side,but can't to print call a client side print the report,if run a client side ,it called the server printer,why?who can help me?
×
×
  • Create New...