i m working on a project wherein we have to capture a photo using web cam for the web application..
can anybody tell me how we can do this.
i have read many artical and found a code for the stand alone appli. from "http://www.mutong.com/fischer/java/usbcam/" but it is not running it is showing the exception (Exception in thread "main" java.lang.NullPointerException) in MediaLocator videoMediaLocator = captureVideoDevice.getLocator();
can anyone tell me what is happening here as i m very new to the java...