I am using ajax-submit on an enctype 'multipart/form-data' form.
By checking the mutiplipart Content of my request in my servlet (ServletFileUpload.isMultipartContent(request)) it always returns false.
Does it means AJAX does not allow enctype form ? is there any solutions to this problem ?
Thanks in advance
ajax:submit is not depending on form parameters such as method or enctype.
It serializes (see Prototype API documentation http://api.prototypejs.org/dom/form/serialize/) all successful form controls (see http://www.w3.org/TR/html401/interact/forms.html#h-17.13.2) and sends with Ajax.Updater (http://api.prototypejs.org/ajax/ajax/updater/) using HTTP POST by default.
P.S. Why do you need enctype?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.