公用步骤模块:AlwaysRequiredSteps.jsp
======================AlwaysRequiredSteps.jsp=======================
<%
/*CREATE THE REPORT APPLICATION SESSION, SET THE REPORT APP SERVER AND OPEN THE REPORT*/
String temp1 = (request.getRequestURI()).replace('/', '\\');
int lastTemp=temp1.lastIndexOf("\\");
temp1=temp1.substring(1,temp1.length());
String path = request.getRealPath("/");
ReportAppSession ra = new ReportAppSession();
预览模块:CrystalReportsInteractiveViewer.jsp
==================CrystalReportsInteractiveViewer.jsp================
%
/*INSTANTIATE THE VIEWER AND DISPLAY THE REPORT THROUGH THE INTERACTIVE VIEWER*/