Solved

jsp scriptlet

Posted on 2015-02-13
4
164 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 21

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 21

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

776 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