Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

Action form is not populated while using html:form enctype="multipart/form-data"

 
Sam Mites
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64980
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
    Bookmark Topic Watch Topic
  • New Topic