2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: erer2 - erer2 JRPrintXmlLoader Problem 2006-07-20 07:07Hi 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. Code: String Base_URL = new String("http://localhost:8080/pliki/"); String nazwa_pliku = new String("raport1.jrprint"); try { 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now