Jump to content
Changes to the Jaspersoft community edition download ×

JRPrintXmlLoader Problem

Recommended Posts

By: erer2 - erer2

JRPrintXmlLoader Problem

2006-07-20 07:07

Hi ther I have the problem with loading JRPRINT file into my app. I have the code (pasted lower) and it works when I run this as an application, but when I try to run this as an applet I get the problem with Digester (don't have the stack trace here) For sure it is JavaNullPointerException and it cama from Digester.



String Base_URL = new String("http://localhost:8080/pliki/");

String nazwa_pliku = new String("raport1.jrprint");



URL url = new URL(Base_URL+nazwa_pliku);

InputStream is = url.openStream();



jp = JRPrintXmlLoader.load(is);




JRViewer jv = new JRViewer(jp);

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