Do we need seperate file path for window and linux in java
Posted
by
Kishor Sharma
on Stack Overflow
See other posts from Stack Overflow
or by Kishor Sharma
Published on 2012-10-18T10:24:58Z
Indexed on
2012/10/18
11:01 UTC
Read the original article
Hit count: 242
I have a file on linux ubuntu server hosted with path name /home/kishor/project/detail/. When I made a web app in window to upload and download file from specified location i used path "c:\kishor\projects\detail\" for saving in window.
For my surprise when i used window file path name in my server i am still able to get files and upload them, i.e, "c:\kishor\projects\detail\".
Can anyone explain why it is working (as window and linux both use different file path pattern).
© Stack Overflow or respective owner