By: ding city - ding123
Applet problem in demo/samples/webapp
2003-01-20 22:14
Hi, Browser is Swing enabled .
but, when i open "Embedded Viewer Applet" to link viewer.html page, it show FileNotFoundException as fellowing:
java.io.FileNotFoundException:http://localhost:8080/jasper/webapp/servlets/jasperprint
at sun.net.www.protocal.http.HttpURL
Connection.getInptStream(Unknown Source)
at sun.plugin.net.protocal.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at dori.jasper.engine.util.JRLoader.LoadObject(JRLoader.java:147)
at EmbeddedViewerApplet.init(EmbeddedViewApplet.java:112)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
NESTED BY:
dori.jasper.engine.JRException:Error loading object from URL:http://localhost:8080//jasper/webapp/servlets/jasperprint
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:155)
(EmbeddedViewApplet.java:112)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What might be the reason for such behavior?
thanks.
By: Teodor Danciu - teodord
RE: Applet problem in demo/samples/webapp
2003-01-25 01:11
Hi,
Check to see if the "jasperprint" servlet is working.
You can do this by calling the servlet URL in the
browser and if everything is OK, the browser will
ask you to save a .jrprint file on disk.
I hope this helps.
Teodor
Applet problem in demo/samples/webapp
2003-01-20 22:14
Hi, Browser is Swing enabled .
but, when i open "Embedded Viewer Applet" to link viewer.html page, it show FileNotFoundException as fellowing:
java.io.FileNotFoundException:http://localhost:8080/jasper/webapp/servlets/jasperprint
at sun.net.www.protocal.http.HttpURL
Connection.getInptStream(Unknown Source)
at sun.plugin.net.protocal.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at dori.jasper.engine.util.JRLoader.LoadObject(JRLoader.java:147)
at EmbeddedViewerApplet.init(EmbeddedViewApplet.java:112)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
NESTED BY:
dori.jasper.engine.JRException:Error loading object from URL:http://localhost:8080//jasper/webapp/servlets/jasperprint
at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:155)
(EmbeddedViewApplet.java:112)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
What might be the reason for such behavior?
thanks.
By: Teodor Danciu - teodord
RE: Applet problem in demo/samples/webapp
2003-01-25 01:11
Hi,
Check to see if the "jasperprint" servlet is working.
You can do this by calling the servlet URL in the
browser and if everything is OK, the browser will
ask you to save a .jrprint file on disk.
I hope this helps.
Teodor
0 Answers:
No answers yet