title: How to upload a file into server using servlet?
body: <p>I am very new to servlet technology. I want to upload a file from the local file system (i.e., client machine) to the server, which is running on Tomcat. Can someone please tell me how to do this.</p>
  
  <p>I am using html input element type <code>file</code> (<code>&lt;input type="file"...&gt;</code>) and <code>form action</code> attribute posts the data to a servlet.</p>
  
  <p>plz help me.</p>