Meaningless Drivel is fun!*
The moose likes Struts and the fly likes JasperReport Issue using Struts2 Plugins of Jasperreport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JasperReport Issue using Struts2 Plugins of Jasperreport" Watch "JasperReport Issue using Struts2 Plugins of Jasperreport" New topic
Author

JasperReport Issue using Struts2 Plugins of Jasperreport

Nirmal Jatania
Greenhorn

Joined: Apr 17, 2009
Posts: 19
My whole problem regarding jasperreport using struts2 has posted on following link, Please visit it & reply if you have any solutions.

link
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You're using field names from your SQL statement. SQL statements are meaningless in an S2/JR plugin report--you need to use the Account class's properties as the fields.
Nirmal Jatania
Greenhorn

Joined: Apr 17, 2009
Posts: 19
David Newton wrote:You're using field names from your SQL statement. SQL statements are meaningless in an S2/JR plugin report--you need to use the Account class's properties as the fields.


Thanks for your reply...

I have tried that by replacing all the field name to account classes's field name. But still getting same null value in the PDF format.

I am attaching updated .jrxml file here with it...

Please provide any further suggestion if you have ..

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Well I'd remove the query, since it doesn't need to be there. I'll look at it further a bit later.
Nirmal Jatania
Greenhorn

Joined: Apr 17, 2009
Posts: 19
David Newton wrote:Well I'd remove the query, since it doesn't need to be there. I'll look at it further a bit later.


Ok. No Problem, i will wait for your feedback.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Don't wait without doing anything, it could be a few days.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JasperReport Issue using Struts2 Plugins of Jasperreport