mattmb Posted April 23, 2015 Share Posted April 23, 2015 Hi,I would like to know how to display the report or the template name as a title in the header section.For eg., if my template is "Business-report01.jrxml", I would like to display "Business-report" in the header.What's the java expression to do it ?Thanks for your assistance,Best regardsMatt Link to comment Share on other sites More sharing options...
Solution mattmb Posted April 25, 2015 Author Solution Share Posted April 25, 2015 I've found the answer.The java expression to use is:$P{JASPER_REPORT}.getName() 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