|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I am hoping this is the right place for this!
I am trying to setup a page with webcam updates on it, I downloaded the javacam.class and read the instructions for it. I am told to upload the javacam.class to the directory on my server where the script text would also be. I used this code below. <APPLET code="JavaCam.class" width=320 height=240><PARAM name="url" value="http://myhost.mycompany.com/my_webcam32_image.jpg"><PARAM name="interval" value="30"></APPLET> I am getting the following error on my page http://jafo.spacespider.net/weblog/livecam.html Error--> Null Pointer security exception The explanation I get for this below is: The JavaCam applet must be loaded from the same machine as the target image. If you fail to do this, Java (not Webcam32 or even the JavaCam applet) will raise a Null Pointer security exception. Java requires that any applet dynamically downloaded from the Internet only connect back to the machine from which it was loaded I was hoping someone could dumb this down for me. My expiereince on java is this crash course here. |
|
#2
|
|||
|
|||
|
put the javacam.class and javacam.java files in the same directory as your webcam software, typically on the machine where your camera is connected with.
java allows applets to connect only with the server the applet originates from. Otherwise, security would be compromised. So you image of your webcam should come from the same machine where the java stuff resides. Good luck, Rogier. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > help with javacam.class |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|