This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes How to embed jasper report in jsp page when using struts2-jasperreports-plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to embed jasper report in jsp page when using struts2-jasperreports-plugin" Watch "How to embed jasper report in jsp page when using struts2-jasperreports-plugin" New topic
Author

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

Sewdil Ss
Greenhorn

Joined: Mar 28, 2011
Posts: 1
Hi

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>
</result>
</action>

Thanks in advance...!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to embed jasper report in jsp page when using struts2-jasperreports-plugin
 
Similar Threads
WebWork JasperReports Plugin set multiple datasourc
jasper reports html format not displayed inspite of doing all the changes mentioned in similar post
Problem in using "exportParameters" in struts2
datasource for jasper report in struts.xml with struts2
Problem in struts2-jasperreports