hi experts i have a problem in my code for generating pdf
JasperRunManager.runReportToPdfStream(reportStream,servletOutputStream,new HashMap(), resultSetDataSource);
when This line is executed the content of database shows in pdf format on browser
but i want ro show the plain text on browser..
i did the following changes
JasperRunManager.runReportToHtmlFile(jasperReport,new HashMap(), resultSetDataSource);
but it saves the html file in plain text format in my project folder..
but i want to show on broswer how can i do????