sir i try call the jasper report but system give me this error
net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: \report\report2.jasper
Christophe Verré wrote:FileNotFoundException. It should give you a hint, doesn't it ? But I find it strange that the file reported ( \report\report2.jasper ) does not correspond to the file name in your source code (../report/report1.jasper). Is this the stack trace for this sample ?
can you still elaborate clearly the solution for the Above same code ?what mistake is i making in the given code?
If you use a relative path, make sure that the current directory is correct.