When a form is submitted with the enctype as 'multipart/form-data', how should the form data be handled in a servlet?

  • This is not supported in servlets
  • Use a library like Apache FileUpload
  • Use the getInputStream()
  • Use the getParameter()
When a form is submitted with the enctype as 'multipart/form-data', the form data should be handled using a library like Apache FileUpload for efficient processing of multipart data in servlets.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *