title: o'reilly adds extra path. Why?
body: <p>Here is my code to set upload path:</p>
  
  <pre><code>    FileManager fm  = new FileManager();
      String srcPath  = fm.directoryPath("ownOIPath");
  
      MultipartRequest multi = new MultipartRequest(req, srcPath,
      50 *90000 * 90000, new com.oreilly.servlet.multipart.DefaultFileRenamePolicy()); 
  </code></pre>
  
  <p>"srcPath" is read from *.properties file. </p>
  
  <p>Path I provided in properties file is: </p>
  
  <p>ownOIPath = /var/www/vhosts/globalsteelweb.com/httpdocs/UploadedFiles/ownOI/</p>
  
  <p>I changed this path and set in windows environment then its working fine 
  but <strong>why its (adding /var/java/aache-tomcat-7.0.47/webapps/gsw)</strong> extra on the linux server: </p>
  
  <p>java.lang.IllegalArgumentException: Not a directory: 
  <strong>/var/java/apache-tomcat-7.0.47/webapps/gsw/var</strong>/www/vhosts/domain.com/httpdocs/UploadedFiles/ownOI</p>
  
  <p>Please advise </p>
  
  <p>Best regards</p>