Results 1 to 1 of 1
- 12-07-2010, 03:49 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
Applet works in a subfolder but not in root?
Hi everyone,
I'm having a bit of grief with using the PTViewer applet. It's something we use a lot - usually problem free - but when it came to doing our own website it works in the development environment (just a subfolder in the website root called "2010") but when we went live it just won't work!
The code between all websites is always exactly the same, it was literally a copy and paste job which is why I can't understand why it's not working. I get the error:
If I fiddle about with the "code"/"archive" attributes it just fails to load. I read somewhere about the "codebase" tag helping but we've not used it on any of the other websites and it made no difference. I also tried moving the ptviewer.jar file into the same directory as the images but to no avail.Java Code:exception: java.lang.NullPointerException
I've tried everything I can think of. Has anyone else come across a similar problem? Any help would be greatly appreciated!
Thanks,
Ben
P.S. I forgot to mention: if I use the ptviewer.jar file from a different server it successfully loads the applet but only shows a red box (I'm guessing because the images are not on the same server)Last edited by benartiss; 12-07-2010 at 04:03 PM.
Similar Threads
-
APPLET dosen't works in HTML
By coolest-for_you in forum Java AppletsReplies: 0Last Post: 12-20-2009, 06:14 PM -
root directory
By raghu9198 in forum New To JavaReplies: 19Last Post: 01-06-2009, 03:11 AM -
Applet works on Windows, Ubuntu and Mac, but not on Redhat and Fedora
By bhaskar_e in forum AWT / SwingReplies: 6Last Post: 10-22-2008, 05:05 PM -
Signed applet works only with jre 1.6u10 beta...
By smartizzz in forum Java AppletsReplies: 0Last Post: 08-07-2008, 07:54 AM -
Context Root change
By rvasu_77 in forum Advanced JavaReplies: 2Last Post: 07-12-2007, 10:18 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks