• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

File Upload using JSP

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello friends!

I have a problem that many users have been having: I can't get file uploading to work using jsp. I have read many of the posts that talk about the multipart request, etc etc. Unfortunately, I'm still not able to understand what I'm doing wrong. I am using O'Reily's FileUploadBean to try and do this and I don't know why it does not work. When I try to upload the file it tells me an HTTP 500 internal Server Error "The Page Cannot be Displayed." If anyone can shed some light on this situation, it would be greatly appreciated. I hope I have suppled enough info. Please tell me so if I have not.


The HTML page to upload the file:
------------------------------------





The jsp to handle the file:
--------------------------------------





The java code for the FileUploadBean class:
------------------------------------------------


-= Marco =-
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic