Jump to content

Use JasperCompileManager.compileReport(sourceJrxml) on server?


Sakura Hana

Recommended Posts

Dear forum!!

I just got some errors after running my code under tomcat service. Please help....

Two thing you should notice is that:

  1. Use relative path, and assign it as argument to JasperCompileManager.compileReport("report/sample.jrxml"), it worked with window applicaiton.
  2. However, I would like to embed it with applet, so I can run it under tomcat service. After do this kind of thing, error message occur like this:
     
net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: reportssample.jrxml (The system cannot find the path specified)    [/code]
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...