Jump to content
Changes to the Jaspersoft community edition download ×

Using the XML file with the web

Recommended Posts

By: Luiz Antonio Ramos Filho - luizrms

Using the XML file with the web

2003-07-30 11:08

Greetings to everyone.


I m developing a web system which needs to generate reports and labels.

I already built the Jasper XML file using iReport and now I want to use it with the web so I can select what kind of report I want and each report will have a different SQL query.


How can I pass the value to the XML file (for the query) and how to compile a PDF through the web?


Thank you very much.




Luiz Ramos






By: Teodor Danciu - teodord

RE: Using the XML file with the web

2003-07-31 09:23




You can supply the entire SQL query dinamically

using the report parameters.

Not that there are two types of paramters in the

query, depending on the syntax you use:








Check the "query" sample and the documentation

for details about the use of report parameters.


Note however, that the query should return the same

set of fields. If not, I'm afraid we are talking about

dynamic report templates and you have to check

the "noxmldesign" sample for that.


I hope this helps.


Link to comment
Share on other sites

  • Replies 0
  • 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...