• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet not visible

 
Shaun Appleton
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have code within my HTML as follows:

This works fine and has done so for many years.
But when I change the servername (moonstone) to a website name (myWeb) (which is resolved by WINS/DNS) it fails giving:

I know the resolution through DNS works as I can type http://myWeb/classes/Alert_Sound.wav and the sound plays.
Any ideas?
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The class isnt reachable and if your loading a file it has to be loaded through a url file object. locate the class first
 
Shaun Appleton
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the class location is http://myWeb/classes/AlertTickerApplet.class and if I can proove it is there as when I type this URL in IE tries to do something with it. Could it be something to do with the way the class is loaded?
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the html or jsp page that calls this either has to be in the same path or reachable. If its not in the same folder I believe codeBase is the attribute to describe where it is
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!