Solved

jsp scriptlet

Posted on 2015-02-13
4
162 Views
Last Modified: 2015-02-17
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
Comment
Question by:prafulla amrutkar
  • 2
  • 2
4 Comments
 
LVL 20

Expert Comment

by:Amitkumar Panchal
ID: 40610864
What kind of properties you talking about ?
0
 

Author Comment

by:prafulla amrutkar
ID: 40611656
hi amritkumar
report properties means............
pagewidth
pageheight
etc................
0
 
LVL 20

Accepted Solution

by:
Amitkumar Panchal earned 500 total points
ID: 40615707
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
 

Author Comment

by:prafulla amrutkar
ID: 40615839
thanx amritkumar for suggestion
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now