Jump to content
Changes to the Jaspersoft community edition download ×

dynamic field parameter from jsp


contiang

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

I tried to do this,

I made a jsp page with option buttons,

Bsaed upon option One will select ,query will be modified or you can say condition will change dynamically.

 

I am attaching my servlet code and jsp page.

All u need is to make a paramater in Ireport GUI and replce the portion of ur query with $!{/name of the parameter}

 

May be this will help u.

In this code I am replacing query but u can replace particular parameters also.

 

Thanks

Neetika

Link to comment
Share on other sites

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...