Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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

 
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.
 
Marshal
Posts: 67280
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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.
 
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!