Skip to Content
0
Former Member
Jan 28, 2009 at 07:19 PM

Images do not render - But CSS is picked up by CrystalViewer

56 Views

I have copied the crystalreportviewers directory and the required jars as stated in the documentation.

webreporting.jar has the CrystalReportViewerServlet. But the servlet does not seem to render the image on screen.

img src="../CrystalReportViewerHandler?dynamicimage=crystal123316977788056741.png" border="0" width="768px" height="82px">

Here is my web.xml

        <context-param>
                <param-name>crystal_image_uri</param-name>
                <param-value>/MyTestApp/crystalreportviewers</param-value>
        </context-param>   
        <context-param>
                	<param-name>crystal_servlet_uri</param-name>
                	<param-value>CrystalReportViewerServlet</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>

What am i missing?

The app and the BOE servers are on different boxes.

Thanks,

JM