Jump to content
We've recently updated our Privacy Statement, available here ×

Applet problem in demo/samples/webapp


Recommended Posts

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

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