Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to embed jasper report in jsp page when using struts2-jasperreports-plugin  RSS feed

Sewdil Ss
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm creating a report using jasper report and successfully generated the report with struts2-jasperreports-plugin, in my web application.
the report is displayed in html format, now i need to embed this report in a jsp page, but couldn't find a way to do that. Could some one please help me to achieve this task?
following is the struts configuration i have used:

<action name="myJasperTest" class="com.action.JasperAction" method="execute">
<result name="success" type="jasper">
<param name="location">jasper\report4.jasper</param>
<param name="dataSource">myList</param>
<param name="format">HTML</param>
<param name="imageServletUrl">/servlets/image?image=</param>

Thanks in advance...!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!