title: read data from MultipartFile which has csv uploaded from browser
body: <p>May be I am doing it worng by using MultipartFile upload feature.</p>
  
  <p>I have to read data from csv file which will be chosen by the client through the browser. I used MultipartFile to upload file. The file is coming to the controller but now I am unable to read csv data from it. Please guide the best way to do it or help me read csv data from MultipartFile.
  The jsp has </p>
  
  <pre><code>    &lt;form method="POST" action="uploadFile" enctype="multipart/form-data"&gt;
              File to upload: &lt;input type="file" name="file"&gt; &lt;input
                  type="submit" value="Upload"&gt; Press here to upload the
              file!
          &lt;/form&gt;
  </code></pre>
  
  <p>The controller has</p>
  
  <pre><code>@RequestMapping(value = "/uploadFile", method = RequestMethod.POST)
  public String uploadFileHandler(@RequestParam("file") MultipartFile file) {
  </code></pre>
  
  <p>Thanks.</p>