I look on the previous threads regarding this issue but it didn't really solve my problem. (see below the error)
The viewer was unable to find the resources required to render the report.
Please check the following to resolve the issue.
1. Verify that crystalreportviewers/ is accessible to your WebApp and is the correct path to the viewer resources.
2. You may customize this location by altering the crystal_image_uri and crystal_image_use_relative properties in the web.xml.
3. Validate that the file crv.js exists at crystalreportviewers/js/crviewer/crv.js.
I'm using eclipse Indigo EE for my development and Tomcat 7 as my application server.
I generated a jsp file to render a report and I don't get any error when I run my jsp file. However, calling this jsp file from a servlet using
RequestDispatcher view = request.getRequestDispatcher("Report3-viewer.jsp");
view.forward(request, response);
I will get the error above. Again, while my Tomcat is atill running and i try to call the jsp right on my browser http://localhost:8080/WRMS/Report3-viewer.jsp .... it will work and generate the report.
Here's a snippet about my xml :
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>/crystalreportviewers</param-value>
</context-param>
<context-param>
<param-name>crystal_image_use_relative</param-name>
<param-value>webapp</param-value>
</context-param>
<servlet>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<servlet-class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>CrystalReportViewerServlet</servlet-name>
<url-pattern>/CrystalReportViewerHandler</url-pattern>
</servlet-mapping>
<servlet>
Hope somebody could give me an idea on how to call this jsp page from a servlet. Thanks