mp_we Posted October 4, 2007 Share Posted October 4, 2007 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 More sharing options...
forhitesh Posted May 7, 2008 Share Posted May 7, 2008 please tell me how to use style templates Link to comment Share on other sites More sharing options...
forhitesh Posted May 7, 2008 Share Posted May 7, 2008 please tell me how to use style templates Link to comment Share on other sites More sharing options...
lucianc Posted May 7, 2008 Share Posted May 7, 2008 See the "templates" sample under demo/samples in the JasperReports distribution. HTH,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now