html elements text/hidden along with file should be submitted?
how to submit html elements text, hidden etc., along with file element?
While using multipart for file element, the other elements are not read, like request.getParameter("") gives me null for other text/hidden elements...
please help me in this with the solution...
<form enctype="multipart/form-data"... definitely does what you want.
Ensure that your other elements are inside the same form as your file input, and ensure that you have set the name attribute on all input elements you want to submit.