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