File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes JasperPrint to String and String to JasperPrint Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JasperPrint to String and String to JasperPrint " Watch "JasperPrint to String and String to JasperPrint " New topic
Author

JasperPrint to String and String to JasperPrint

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Howdy,

Hi I am working with reports with jasper i report tool.. now as i am using webservice... from handler i call business unit and successfully i am getting JasperPrint ............

code is....



now i need this file in my handler from where i am calling this webservice and displayReport1 method returns string ....
and i want this method to return jasperprint object so that i can print this report on handler side(user side) ... but as i am calling webservice as a common and every method returns string i can't change the flow here i want to use the same return type... Now
what I want is to create this jasperprint object in string and whenever i get this object in the handler side again i can convert it into
jasperprint object .... anyone know how to do that...means jasperprint to string and string to jasperprint ...please help me out ...thanks in advance



No Kaustubh No Fun, Know Kaustubh Know Fun..
 
Don't get me started about those stupid light bulbs.
 
subject: JasperPrint to String and String to JasperPrint
 
Similar Threads
Jasper report error
Problem while generating PDF from Servlet using Jasper Report
java.lang.reflect.invocationtargetexception occures generating reports
org.xml.sax.SAXException when generating Jasper report
JASPER IREPORT :- file not compiling ...