First of all i would like to inform that I am new to jsp.
I have code jsp with database and jasper report. It shows very well with my server.
But when i am connecting through my client computer it shows the html file only and report is generated at server.
I do not know where i made mistake. Can any body help me out.
Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Well, you're creating a file on the server--it won't be magically downloaded. You need to stream it to the client.
Before going much further, please consider writing the Java code in a Java file--*not* in a JSP. This is an outdated practice and not even very suitable for quick testing; it's just not worth it.
I would appreciate if you could guide me a bit in code means how and where to write it.
I wrote following lines but it shows error to me.
java.io.OutputStream outputStream = response.getOutputStream() ;
JasperExportManager.exportReportToPdfStream(jasperPrint, outputStream);
Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT