CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 How to call a JasperReports from JSP

Print topic Send  topic

Author Message
Oscar Treminio
Posted: 10/16/2005, 2:23 PM

Do you know where can i find some examples of calling a JasperReports from JSP.
Atul
Posted: 12/06/2005, 7:12 AM

--------------------------------------------------------------------------------
Do you know where can i find some examples of calling a JasperReports from JSP.:(
arun
Posted: 02/27/2006, 12:19 AM

check the java forums for that
Arun
Posted: 04/03/2006, 1:58 AM

<%@ page import="net.sf.jasperreports.engine.*"%>
<%
JasperReport jr;

JasperPrint jp;
try{
jr = JasperCompileManager.compileReport("c:/jasperreports_demo.jrxml");
jp = JasperFillManager.fillReport(jr, new HashMap(), new net.sf.jasperreports.engine.JREmptyDataSource());
//jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, con);
net.sf.jasperreports.engine.JasperExportManager.exportReportToPdfFile(jp, "c:/DMS_Report1.pdf");

}catch(Exception e){
out.println(e);
}
finally{

}
%>
Victor
Posted: 04/06/2006, 9:30 AM

i need call a report, but i need execute other process in the same page.

How???

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.