2 Replies Latest reply on Mar 13, 2007 8:58 PM by 807606

    a little problem about uploading a file


      I was trying to upload a file (e.g., a .dat file). I just simply used html code:

      <input type="file" name="cdrfile">

      and then when I was trying to return the file and path using code:

      <%= request.getParameter("cdrfile")%>

      IE gives me the complete path (e.g., D:\file\first.dat), but Mozilla Firefox only return file name (e.g., first.dat) without the path.

      Can anyone give me some hints please?

      Thank you