Action form is not populated while using html:form enctype="multipart/form-data"
posted 11 years ago
I am using struts and in my jsp i am using the tag <html:form>in my jsp where i am using attribute enctype="multipart/form-data" coz i gotta upload a file. along with that i also have a text field in the same html form. So because of the enctype tag, the text field is also getting encrypted and my actionform is not getting populated with the text field value and hence my action class is not performing the desired operation. How to handle this problem when my html form is having both "file" and "text" fields.
Author and ninkuma