• Post Reply 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Spring portlet form: @ModelAttribute not populated

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a beginner at Spring and I was wondering why my ModelAttribute did not populate (All the values were null)

I want to create a multipart from that allows me to upload a csv file as well as the type of CSV file too.

My codes are as such:

In the CSVUpload-portlet.xml:



CSVUploadPortlet.java (Controller)

CSVFileUploadVO.java


Form JSP

I know it seems like asking you to help solve a problem for me but I've been stuck on this for 8 hours, reading every resource and stackoverflow website i could google on. But despite that, I wasn't able to find anything.

Thank you for your help in this. Please let me know if I missed anything out.
 
If a regular clown is funny, then a larger clown would be funnier. Math. Verified by this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic