?
Solved

jsp scriptlet

Posted on 2015-02-13
4
Medium Priority
?
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

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…
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.
Suggested Courses

770 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