473,772 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

jasper report

smiley22
54 New Member
hi guys,

i just want to ask if it is possible to change .jasper file into .xml?

is there an application for converting it?

thanks and gudluck to all :)
Aug 21 '08 #1
1 2971
r035198x
13,262 MVP
hi guys,

i just want to ask if it is possible to change .jasper file into .xml?

is there an application for converting it?

thanks and gudluck to all :)
You should be able to decompile the .jasper to the jrxml using something like

Expand|Select|Wrap|Line Numbers
  1. JasperReport report = (JasperReport) JRLoader.loadObject(pathToJasperFile);
  2.  
  3. JRXmlWriter.writeReport(report, outputJRXMLFilePath, "UTF-8");
Aug 21 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
28004
by: Grant Collins | last post by:
Hi I am writing a web based application as part of a small project that I am undertaking using servlets beans and jsp. I already have one servlet - bean - jsp page working and I have written another servlet - bean - jsp but I am hitting an error from tomcat that I have no idea why it is failing. I am getting an org.apache.jasper.JasperException: with the root cause being java.lang.ClassNotFoundException:
3
19791
by: Lord0 | last post by:
Hi there, First of all I apologise for being a PHP noob. Is there a PHP equivalent of Java's Jasper Reports? http://jasperforge.org/sf/projects/jasperreports Basically Jasper is a bunch of libraries which allow you to create reports, in various formats:
1
7355
by: gsuns82 | last post by:
Hi all, I am working jasper reports,i have got partial result for the code below. jasperReport = JasperCompileManager.compileReport( "c:\\Jreport.jrxml"); jasperPrint = JasperFillManager.fillReport( jasperReport, new HashMap(), new JREmptyDataSource()); JasperExportManager.exportReportToPdfFile(jasperPrint, "sample.pdf"); // JasperViewer.viewReport(jasperPrint);
0
1588
by: gsuns82 | last post by:
Hi all, * I am working on jasper reports,I have successfully generated sample pdf report from a java program. * But i am getting problems when i tend to call that report genarating method from a commandButton of a jsp page. The java code executed successfully: ******************************************* getpdf() { jasperReport = JasperCompileManager.compileReport( "c:\\Report.jrxml");
2
13305
by: bjverni | last post by:
Hi, I am calling a stored procedure in my Jasper Reports, but it is giving me an error. Would it possible to execute stored procedures in the field wizard when you create the Jasper Report using the Jasper Assistant in Eclipse? My code is exec sp_ACCUM_MILEAGE_REPORT $P({veh_no} , $P {veh_no_rebuild_id} , $P { from_date } , $P { to_date } Thanks in advance
4
1704
karthickRAJKUMAR
by: karthickRAJKUMAR | last post by:
i have assign the work to do in jasper report,which will give the report dynamically,please give some idea i am not able to find the solution yet(dynamically insence we have to sent the value in textbox using swing and should able to sent the report in pdf
3
5993
by: suryavanshi | last post by:
how i call the jasper report file from the jsp
4
12375
karthickkuchanur
by: karthickkuchanur | last post by:
I am using JasperReports 2.0.5. I am trying to use the background tag to generate a watermark image for my reports. JRXML source is below and also attached.The problem is that I do not get HTML generated fort the ImageServlet to generate the image when I have other bands defined in the report, e.g. a detail band. It works fine when I have only the background tage defined but no detail band. Furthermore, I get the correct output in PDF with...
0
2568
by: Sundhas | last post by:
Hey, i want to Use Dynamic japser to create reports of my database i.e MYSQL. Plus, i want to know that can i send attirbutes to dynamic jasper which a user is going to select from the front end based on XHTML MP and then i want dyanamic jasper to make report on the selected attributs. P.s I m sending selected attributes through servlet to Dynamic Jasper Thanks sundhas
0
1420
by: Sundhas | last post by:
Hey! Scenario:What my project do right now 1. User Enters his Login and Password through his mobile phone and servlets contacts webservice of Authentication and user gets authenticated with the system in the mean while user is Authorized also i.e What page he is allowed to see. 2. Page appears infront of user on his mobile screen from where he can select the attributes as well as the type of report he wants to view....
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7461
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.