views:

442

answers:

1

Hello, I have created one .jasper file for my project. I am getting output in JasperViewer window instead of that I want to see it in HTML output form. How should I do that ?

A: 

Jasper report project comes with a sample code to export reports to HTML. It's not only a single HTML file, but at least it requires a 1x1 transparent gif used for decorating. It's not a good idea to export reports to HTML files because of portability and printing issues. You can however show HTML reports inside your webserver (which is very commone) using that sample code. See \demo\samples\webapp application for more details.

Mohsen
Hi,Mohseen Thanks for your suggestion, I have one more doubt that how should i add serial no.column in my report.
om
what do you mean by 'serial no.column'?
Mohsen