Im working in a Web application that allow the user to create and see the information from database with a JasperReports's report. The JasperReports works and I can see the copy in the server side.
The problem appears when I want to show the results to client in his computer.
The application send me a java.awt.HeadlessException
because of AWT library that JasperReports use.
public void createView(){
jasperViewer = new JasperViewer (reportFilled);
jasperViewer.setVisible(true);
}
Its a very easy code, but I don't know how to fix this problem or its possible to use other libraries.
Some one can help me with other idea or know how to solve this?