pramudya81 Posted April 12, 2007 Share Posted April 12, 2007 Guys. Here is my problem.First I use iReport to design and generate .jasper file.Then I only load and fill the report. This is my little java codes JasperReport report = null;JasperPrint print = null; //filePath is file full path//params is a HashMap//conn is a JDBC connectionreport = (JasperReport)JRLoader.loadObject(filePath);print = JasperFillManager.fillReport(report,params,conn); JasperViewer.viewReport(print,false); It works fine. However, when clients hits the button the JasperViewer generated the report on the server side. Thus clients didnot see anything. Why this is happening?Should I use applet viewer for jasper to make "client sided" in web app environment?Why JasperViewer is not working here? Thanks Link to comment Share on other sites More sharing options...
pramudya81 Posted April 13, 2007 Author Share Posted April 13, 2007 Guys, Basically I want JasperViewer to display on client side. Not only on server side. Strange!? How do we screw this?:evil: Thanks Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 18, 2007 Share Posted April 18, 2007 Hi, The first thing to do would be to read more about Web application architecture and try understand why all this is happening. The /demo/samples/webapp sample provided with the project distribution package would also help understand how to deliver report content to the client browser. I hope this helps.TeodorPost edited by: teodord, at: 2007/04/18 09:30 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now