Rank: Member
Groups: Member
Joined: 6/15/2006(UTC) Posts: 13
|
I have followed one of the samples provided for a jsp environment. I have a jsp page which includes the image uploader applet. When I type in the direct link to the page in my browser, the applet loads fine and works great. However, if I forward from another page, I get the following loading error. In our website, we need the user to fill out some information and then forward them onto a page where they can upload some photos. Any ideas why this might be happening? Thanks a lot. Code:load: class com.aurigma.imageuploader.ImageUploader.class not found.
java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-16118" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-com.aurigma.imageuploader.ImageUploader.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Edited by user Wednesday, December 19, 2007 4:18:27 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hello,
Which exact sample do you use?
What is your browser and Java version?
Can you post the url to page with Image Uploader? |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Member
Joined: 6/15/2006(UTC) Posts: 13
|
I'm using the jsp-apache example. I've tried this in both Mozilla and Internet Explorer. I also have the most recent version of Java installed. Unfortunately, I cannot post the url to the image uploader because we are still in testing phases and running on a local machine.
Like I said, if I go directly to the URL, the image uploader loads fine. However, if I forward on to that same page, I get the errors. Is there a check in the applet code to find out the referring address that might block this?
|
|
|
|
Rank: Member
Groups: Member
Joined: 6/15/2006(UTC) Posts: 13
|
Nevermind, fixed this. Thanks.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.