title: Servlet: Image upload with content type as image/jpeg
body: <p>I am using sapui5 control UploadCollection to upload set of images and servlet to process the post request.</p>
  
  <p><strong>Problem 1</strong>: I have slightest idea how to parse the content to get images in doPost.<br>
  <strong>Problem 2:</strong> For the UploadCollection, it's not advisable to change the content type by modifying the header parameters. So, i'd need to get those images in servlet without multipart as content type. </p>
  
  <p>I have seen dozens of examples, all having multipart as content type. I need a solution where content type from browser comes as image/*. Hints or code snippets would do.</p>