All other browsers (including IE9, exluding ancient ones) send correct requests for the following form:
<form class="form-submitter form-horizontal" enctype="multipart/form-data" name="Uploader" id="Uploader" action="MainServlet?module=general&action=add&Name=test">
<input class="input-file" name="testFormName" id="UploaderInput" type="file">
</form>
That is:
http://localhost:8080/Project/MainServlet?module=general&action=add&Name=test&testFormName=%5Bobject+File%5D
while in IE8 all I get is:
http://localhost:8080/Project/MainServlet?toSessionFormName=test.png
I’m using jQuery’s submit, that is:
$("#Uploader").submit()
I’d love to get any suggestions, or tips which could lead to me to solution. Did anyone has this problem already with IE8?
Thx
Use hidden inputs :
That’s the right solution. You’ll even avoid encoding problems.