Hi,
I am creating a file object
File file = new File("http://localhost:8080/Myapp/downloadFiles/somefile.txt");
when i run this application i am getting:
java.io.FileNotFoundException: http:\localhost:8080\Myapp\downloadFiles\somefile.txt
Here double slash is converting to single slash. [
http://localhost is converting to http:\localhost ]
i tried in many ways of regular expression.
please let me know the solution.
thanks,
siraj.