jsp文件如下:
<%@ page import="com.crystaldecisions.reports.reportengineinterface.*"%>
<%@ page import="com.crystaldecisions.report.web.viewer.*"%>
<%
CrystalReportViewer crv = new CrystalReportViewer();
JPEReportSourceFactory jrsf = new JPEReportSourceFactory();
crv.setReportSource(
jrsf.createReportSource("test.rpt",request.getLocale()));
crv.processHttpRequest(request,response,application,null);
%>
我估摸是crv.setReportSource(
jrsf.createReportSource("test.rpt",request.getLocale()));
方法有错,但是什么问题呢?
<%@ page import="com.crystaldecisions.reports.reportengineinterface.*"%>
<%@ page import="com.crystaldecisions.report.web.viewer.*"%>
<%
CrystalReportViewer crv = new CrystalReportViewer();
JPEReportSourceFactory jrsf = new JPEReportSourceFactory();
crv.setReportSource(
jrsf.createReportSource("test.rpt",request.getLocale()));
crv.processHttpRequest(request,response,application,null);
%>
我估摸是crv.setReportSource(
jrsf.createReportSource("test.rpt",request.getLocale()));
方法有错,但是什么问题呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货