<form action="direct" method="post" enctype="multipart/form-data">
<input type="file" name="myFile">
<input type="submit" value="Upload file">
</form>
File t=new File(req.getParameter("myFile"));
this is my form code and need the myFile in servlet im using google app engine
