Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

uploading xlsx file in html

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to upload xlsx file throught upload button in simple html.
I have given <FORM ENCTYPE='multipart/form-data' method='POST' action='mypath' >
I am able to upload txt file and read at my server.
but when I try to upload xlsx file and try to upload, it gives me error as "bad input"
I have tried with attribute accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
I tried with giving image/pdf etc .. but it does not upload respective file ..its only taking txt..
please tell me how to upload xlsx file in html.
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic