Dear all, I was trying my first jasperreport. But I am facing problem. I tried this both in Windows 7 and XP virtual OS. I tried with both Internet Explorer and Chrome browsers. But I could not find a solution. As instructed in the tutorial I have given the following address in the web page. But I am getting the Internal Server Error message and no report is run. As instructed, I created a directory c:\reports\ and placed in it the file employeesOfDepartments.jasper which was downloaded from your site. My web.xml has the following parameter set:
My tomcat log file shows the java.io.FileNotFoundException: ` Dec 23, 2013 1:00:57 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet JasperReportsServlet threw exception java.io.FileNotFoundException: @c:\reports\@employeesOfDepartments.jasper (The filename, directory name, or volume label syntax is incorrect)
Your kind solution is highly appreciated. Kindly treat this little urgent. George. |
Hi all, The issue is now solved. The mistake was enclosing the directory name within the delimiter @ symbol. The web.xml had this directory name enclosed within @ symbol and I used the same format. This was a mistake. Therefore the parameter
was replace with
and everything is OK now. Thanks and regards. George. |
What version of Jasper report are you using?
version 4.6. I have downloaded the compiled file from your site only and did not even open it or re-compiled it.
George.