Jump to content
We've recently updated our Privacy Statement, available here ×

Problems implementing a style template


mp_we

Recommended Posts

Can somebody please help! :(

 

I have a style template that is working fine through iReports. The PDF documents are picking up the template formatting and I can view the reports.

 

When trying to implement the same via Servlet, I am running into problems.

1. After execution I find that the PDF report is missing the formatting specified in the .jrtx file. The .jrtx is placed in the current working directory of my project (confirmed programatically that it is there). The same PDF displays an image that exists in the same directory.

2. I am unable to compile the .jrxml in the Servlet. The error is "SAXParseException: XML-20148: (Error) Invalid element 'template' in content of 'jasperReport'. I am using JasperReports2.0.1

 

I am at my wit's end. Any suggestions?

 

Thank you!

Link to comment
Share on other sites

  • 7 months later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...