title: jsp problem request.getparameter
body: <p>I am using</p>
  
  <pre><code>&lt;input type="file" name="file" value=""&gt;
  </code></pre>
  
  <p>to browse the image file for upload. But when I use</p>
  
  <pre><code> String imageUrl = request.getParameter("file");
   out.println("logofile" + imageUrl);
  </code></pre>
  
  <p>at the action page, it only shows the image name not the full absolute path. When I try to use</p>
  
  <pre><code>File file = new File(imageUrl);
  </code></pre>
  
  <p>it throws the following exception</p>
  
  <pre><code>java.io.FileNotFoundException: apple-logo.jpg (The system cannot find the file specified) 
  </code></pre>
  
  <p>What am I doing wrong?</p>