When using a different webserver/page to host the applet it always gives an error indicating "Err. Chk Host! Usr online?". Yet when going to the Yawcam server direct it works fine .
To see this error go to http://www.vabid.com/Webcam.htm
To see the Yawcam hosted page directly, go to http://komodo.ipupdater.com:8081/
If you check the Webcam.htm source you can see that it is identical with the other except for where the applet is loading from.
What now? Is it something that I didnt do, or do wrong?
==Added Info Jul 25===
The PC running Yawcam server is running Java J2SE 5.0 Update 4. Also you will notice I dont declare the http part in the CODEBASE. This is because when I do Java will not load the applet
Bug in Applet 0.2.6 - using different webserver
Problem using own server
I am experiencing the same problem as kwikone.
I'm not sure what goes wrong here... But I can tell that kwikone has uploaded the YawApplet.class to the webserver, and that could probably make some browsers confused?
Delete the YawApplet.class from your webserver at http://www.vabid.com. The applet file shall be loaded from Yawcam via the CODEBASE tag.
This should at least be a first step in the error finding process.
/malun
Delete the YawApplet.class from your webserver at http://www.vabid.com. The applet file shall be loaded from Yawcam via the CODEBASE tag.
This should at least be a first step in the error finding process.
/malun
Malun,malun wrote:I'm not sure what goes wrong here... But I can tell that kwikone has uploaded the YawApplet.class to the webserver, and that could probably make some browsers confused?
Delete the YawApplet.class from your webserver at http://www.vabid.com. The applet file shall be loaded from Yawcam via the CODEBASE tag.
This should at least be a first step in the error finding process.
/malun
Actually, the server at www.vabid.com does not have the applet!!!
The code is as follows (view source to verify)...
Code: Select all
<applet Code="YawApplet.class" CODEBASE="komodo.ipupdater.com:8081/" WIDTH="320" HEIGHT="240">
<!-- <applet Code="YawApplet.class" WIDTH="320" HEIGHT="240"> -->
<param name="Host" value="komodo.ipupdater.com">
<param name="Port" value="8081">
</applet></p>
I know how comments work
I just typed www.vabid.com/YawApplet.class in the browser and found the file. That's why I suspected that the applet was located on the server.
Are you sure it's not there?
/malun
I just typed www.vabid.com/YawApplet.class in the browser and found the file. That's why I suspected that the applet was located on the server.
Are you sure it's not there?
/malun
I have now removed all trace of the class from my web server.
The code I used is as follows...
<APPLET CODE=YawApplet.class CODEBASE="http://xxx.xxx.xxx.xxx:8081/" WIDTH="320" HEIGHT="240">
<param name="Host" value="xxx.xxx.xxx.xxx">
<param name="Port" value="8081">
</APPLET>
...where the xxx piece is the IP address of the system running yawcam
This just works!
Thanks for your pointers Malun
The code I used is as follows...
<APPLET CODE=YawApplet.class CODEBASE="http://xxx.xxx.xxx.xxx:8081/" WIDTH="320" HEIGHT="240">
<param name="Host" value="xxx.xxx.xxx.xxx">
<param name="Port" value="8081">
</APPLET>
...where the xxx piece is the IP address of the system running yawcam
This just works!
Thanks for your pointers Malun