i wrote a html program with the following code
My jsp file : filename.jspCode:<form action="filename.jsp" method="post">
<input type="file" name="path">
<input type="submit" value="submit"></form>
But i am not getting absolute path It is returning null value instead......Code:<head></head>
<body>
<%
String str=request.getParameter("path"); example path="c:\Sunset.jpg"
File file=new File(str);%>
</body>
Please help me out.....
