I have problems with jasper report.
First I inform to I used eclipse luna and jaspersoft studio 6.0.

1] How to show and hide report fields from jsp using servlet?

2] how to fetch static fields text from jsp and display in textbox?

how to way i solve this problem?

  1. You don't. you pass an object to the report, and based on the values stored in it (which you configure in Jasper) it will either show or not show the fields you want.

  2. This makes no sence. That 'static' text is in your code. first of all, why do you want to do something like this? secondly, are we talking 'I want to load random static blocks' or always the same text?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.