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?