• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

jsp scriptlet

I m new in jasper report and eclipse.

Actually I created a receipt in jasper studio (.jrsml file) and I want to change the report properties on run time.

Description:

I want to fetch a report properties in jsp page and user can change this properties at runtime and save this report.

How to way make it using jsp?

please help me.......


Thank you
0
prafulla amrutkar
Asked:
prafulla amrutkar
  • 2
  • 2
1 Solution
 
Amitkumar PSr. ConsultantCommented:
What kind of properties you talking about ?
0
 
prafulla amrutkarjava developerAuthor Commented:
hi amritkumar
report properties means............
pagewidth
pageheight
etc................
0
 
Amitkumar PSr. ConsultantCommented:
What will happen to the components on the report if you reduce the page width or height? How does it look ?

Changing such properties at runtime is not possible. You will need to do it before filling the report, i.e. on the JasperDesign object (which would then need to compile).

I recommend to prepare few reports with different page size and then ask your user to select any of the provided reports.
0
 
prafulla amrutkarjava developerAuthor Commented:
thanx amritkumar for suggestion
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now