Using browse fuctionality, I have got the filepath into the String fileName
.
FileItem fi =(FileItem)i.next();
String fileName = fi.getName();
C:\Users\ramya_varakantham\Desktop\juno\Servlet\20-06-15.csv
is the path that I have got into fileName.
I now want to replace \
with \\
so that my output would be C:\\Users\\ramya_varakantham\\Desktop\\juno\\Servlet\\20-06-15.csv
Please let me know how.