title: uploading images to server in spring MVC and storing reference in mysql database
body: <p>I'm coding a <code>Spring MVC 3.0</code> application with Tomcat as the web server.</p>
  
  <p>Our requirement is to let the user upload an image. I'm thinking of storing this image on the disk file system and store the reference path in MySQL instead of storing all the file info in MySQL database as BLOB (I was told storing in MySQL is not best practice).</p>
  
  <p>Can any one recommend how to do this in Spring MVC?</p>
  
  <p>Cheers</p>