m_ilio Posted November 24, 2008 Share Posted November 24, 2008 Hi... I am new in jasper report+ireport and I am testing.I made a test report from a table without parameters, but when I want show the report, the command JasperFillManager.FillReport(), do nothingthis is the code that I am implementing: try { String report = "C:\reportes\test.jasper"; Map parameters = null; Connection conn =DataBase.conexion; JasperPrint print = JasperFillManager.fillReport(report, parameters, conn); JasperViewer.viewReport(report, false); } catch (JRException ex) { JOptionPane.showMessageDialog(this,"Internal error to show the report","Error!",1); return; }What is the problem? Link to comment Share on other sites More sharing options...
m_ilio Posted November 24, 2008 Author Share Posted November 24, 2008 i found how to do it Link to comment Share on other sites More sharing options...
sangravi Posted November 25, 2008 Share Posted November 25, 2008 Could you please let me know how u did it? I have the same issue too. 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