Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2.2 jasper HTML format image issue

V. Oliver Smith
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Struts 2.2.3 and I'm trying to add a display type of HTML. Here is the relevant code:


<result name="html" type="jasper">
<param name="location">/reports/${jasperRpt}</param>
<param name="dataSource">jasperRptData</param>
<param name="format">HTML</param>
<param name="reportParameters">jasperRptParams</param>
<param name="imageServletUrl">/servlets/image?image=</param>



All of my .gifs are in /image. Unfortunately, when I attempt to run the report, no image is displayed correctly. All I see are the red X's indicating an image could not be found

Any clues as to what the problem is?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic