Image not displayed on JasperReports Server

I am using below path to use the logo on my report.

/root/Reports/MyPractice/Logo.jpg
/root/Reports/MyPractice/MyLogoReport

The jrxml that I browsed inside MyLogoReport has the

<imageExpression><![CDATA["repo:/reports/MyPractice/Logo.jpg"]]></imageExpression> 

When i run report on JasperReports Server. it doesn't show logo image

In iReport if i use <imageExpression><![CDATA["C:UsersadminDesktopLogo .jpg"]]></imageExpression> it works on local.

链接地址: http://www.djcxy.com/p/65802.html

上一篇: 将嵌套jar添加到类路径中

下一篇: 图像不显示在JasperReports服务器上