Hi all,
am creating web based project.During run time i want to create REPORT.. am using JASPER REPORT(opensource -(
Struts + hibernate + Jasper Report)).
right now am able to generate the report at run time.. but am getting it in Server..
my code:
********
InputStream is = getServlet().getServletContext().getResourceAsStream("/WEB-INF/config/report.jrxml");
JasperDesign design = JRXmlLoader.load(is);
JasperReport report = new JasperCompileManager().compileReport(design);
JasperPrint print =JasperFillManager.fillReport(report, parameters, new ManipulateReport(excereportlist, fields));
// View the Report
JasperViewer.viewReport(print,false);
*************************
if am running project in client.. and if i click the button (Report).. my report was opening in Server Machine ...
i need my report should be open in my Client machine..
is there any other way.. where i can open my report in client.. / any other class in Jasper Report..
Thanks
Dhana