hi i have a javascript method which is reading byte array from applet class i want to put that byte array into request scope to pass the controller class. for that i created one hidden filed and here my doubt is how can i pass that byte array from java script method to hidden field can any body give the solution.
here is my jsp class.
<html>
<body>
<script type="text/javascript">
var a="image";
function printIt(){
a=document.getElementById('string').value;
}
</script>
<form name="formName" action="second.jsp">
<input type="hidden" value='a' name="name" id="string"/>
<input type="submit" id="abcId" name="abcName" onsubmit="printIt()"
value="submit"/>
</form>
</body>
</html>