Jump to content
Changes to the Jaspersoft community edition download ×

jasper.reports.compile.class.path - URGENT!

Recommended Posts

By: Enrico Goosen - enricogoosen

jasper.reports.compile.class.path - URGENT!

2003-05-20 03:02



I'm running a web archive (.war), and when I set the "jasper.reports.compile.class.path" System property like so:

System.setProperty( "jasper.reports.compile.class.path",

getServlet().getServletContext().getRealPath("/WEB-INF/lib/jasperreports.jar") +

System.getProperty("path.separator") + getServlet().getServletContext().getRealPath("/WEB-INF/classes/")


It works ONLY if the war is UNPACKAGED.

How do I set the classpath to the jasperreports.jar if the war file is run without deflating?




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...