I am encountering error during report source creation (rptSrcFactory.createReportSource)...
what seems to be the problem? Maybe, the reportPath in viewreport.jsp or the reportlocation in
CrystalReportEngine-config.xml is incorrect ... pls. advise. Thanks in advance.

================================================== =============
my CrystalReportEngine-config.xml contains...

<reportlocation>../reports</reportlocation>

which means my rpt file is located in /WEB-INF/reports dir (JRC is located in /WEB-INF/lib).

================================================== =============
my viewreport.jsp contains ...

<%@ page import="com.crystaldecisions.report.web.viewer.Cry stalReportViewer" %>
<%@ page import="com.crystaldecisions.reports.reportenginei nterface.JPEReportSourceFactory" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.repor tsource.IReportSourceFactory2" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.repor tsource.IReportSource" %>

//absolute path is C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\WEB-INF\reports\sample.rpt
String reportPath = "/sample.rpt";
IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
IReportSource reportSource = (IReportSource) rptSrcFactory.createReportSource(reportPath, request.getLocale());
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setReportSource(reportSource);
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
viewer.dispose();

================================================== =============
error i encounter when loading the viewreport.jsp ...

org.apache.jasper.JasperException
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:248)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:260)