代码运行正常,但文件被损坏,我无法查看该文件。我不知道哪里出了错。 我写了这段代码来将工作簿另存为PDF,当激活时,需要打开另存为框-文件路径有时也有问题。Sub SaveAsPDF() Dim FileName As Variant 'Displaying the saveas dialog box
FileName= Application.GetSaveAsFilename(
堆栈:JSF + PrimeFaces on JBoss AS with JasperReports1从war中的路径获取已编译的2将JasperPrint对象放置在会话中因此,当用户从图形用户界面单击一个p:commandButton时,将调用backing的方法,该方法通过1、2和3执行;
((HttpSession) externalContext.getSession(false))