To get the value specified in an HTML file, you use the getParameter method defined for the JApplet class:
getParameter
JApplet
*-- Parameter name v ------ getParameter("file");