I need absolute path for the uploaded file. I tried with out enctype,it only returns the file name by request.getParameter.Tried javascript also return a freaky path. I know this is for security reason. Is there any way i can get the file location? .
Html code is <form action="test.jsp" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" ><br> <input type="submit" name="submit" value="Submit"> </form>