Few days ago i got same problem. I resolved it like follwoing
<input type="file" id="newimg">
use the same parameter name in controller. Means "newimg" use instead of "file". Then try it. Then also if it wont work follow the following js for upload
document.frmname.action = ../controllername/methodname;
document.frmname.form = frmname;
document.frmname.method = "post"
document.frmname.submit();