title: Storing an image using OutputStream
body: <p>I have an uploaded Image file from browser,which i received using InputStream</p>
  
  <p>Html:</p>
  
  <pre><code>&lt;form method="POST" action='Seller_database' enctype="multipart/form-data" &gt;
  &lt;input type="file" name="img_input"&gt;&lt;/input&gt;
  &lt;input type="submit" value="submit"&gt;&lt;/input&gt;
  &lt;/form&gt; 
  </code></pre>
  
  <p>I am receiving the values through an InputStream in servlet,</p>
  
  <pre><code>Part img=request.getPart("img_input");
  InputStream fileContent = img.getInputStream();
  </code></pre>
  
  <p>Now i wanted to store the inputed image file into a particular folder.</p>
  
  <p>Please suggest whether to use OutputStream or ImageOutputStream or any other way</p>