I have a reporting module for my application, where users can select the template, When a user selects a template, it will appear in jasper viewer with dummy data. But when the user starts generating the report it will use the data from the database.
I had the idea to first use the .properties file, but there are obstacles, how do I know if the report has not been generated by the original data? While in .jrxml file already exists query to the database, which if no data is entered it will display the null data.
How is the best solution? Please help.