Solved

jsp scriptlet

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

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

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

695 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