i have creatd a code for jasper report. The report is getting displayed but when i close my report (which is in the pdf format) i loose connection with apache tomcat 5.0. I have to re-establish the connection. my project is stuck here for many days. Can anyone please help me out. Thank you in advance!
What do you mean by "when i close my report (which is in the pdf format) i loose connection with apache tomcat 5.0. I have to re-establish the connection"
Joined: Feb 28, 2010
it means that the report is getting displayed. report is in the pdf format at the same time my project is also working. but when i close my report (i.e the pdf) tomcat is shutdown automatically. please help!
Perhaps I am misunderstanding but I am assuming you mean the browser "connection" - that is just an address, there is no active connection. When Tomcat finished sending the pdf file, that was the end of the response. Presumably Tomcat is still running but you lost the browser connection.
1. open the PDF as a separate tab so closing the PDF tab returns to the previous page.
2. use the browser back button to recover the previous page.