<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <script type="text/javascript" src="deployjava.js" ></script> <script> function showApplet() { var attributes = {code:'websample.WebcamApplet.class', archive:'websample.jar,core.jar, javacv.jar, javase.jar, jna.jar', width:640, height:480} ; var parameters = {fontSize:100} ; var version = '1.6' ; deployJava.runApplet(attributes, parameters, version); var searchPic; searchPic = new Image(); searchPic.src = "E:/file.bmp"; document.getElementById(0).src=searchPic.src; } </script> <body> <input type="button" align="center" onclick="javascript:showApplet()" value="Show" > <img id="0" height="480" width="640"> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)