Image 使用ireport、oracle xe和apex显示图像
我正在使用ireport 5.1构建报告,现在我尝试在pdf报告中显示图像,但它没有显示 我将jpg文件复制到jasper目录,在那里我有我的ireport编译文件(jrxml), 我在报告中引用的jpg文件如下: XML代码:Image 使用ireport、oracle xe和apex显示图像,image,oracle,ireport,oracle-apex,Image,Oracle,Ireport,Oracle Apex,我正在使用ireport 5.1构建报告,现在我尝试在pdf报告中显示图像,但它没有显示 我将jpg文件复制到jasper目录,在那里我有我的ireport编译文件(jrxml), 我在报告中引用的jpg文件如下: XML代码: <image> <reportElement uuid="generated_uuid" x="2" y="4" width="119" height="50"/> <imag
<image>
<reportElement uuid="generated_uuid" x="2" y="4" width="119" height="50"/>
<imageExpression><![CDATA["logovinhedo.jpg"]]></imageExpression>
</image>
但它不起作用请尝试以下代码片段:
image\u path
!CDATA[$P{IMAGE\u PATH}]>
<image>
<reportElement x="2" y="4" width="119" height="50" />
<imageExpression class="java.lang.String">!CDATA[$P{IMAGE_PATH}]]> </imageExpression>
</image>