I want to get total path,for example if the user upload an image from d drive like:
D:/sample.jpg ,
I want to get total that path only (D:/sample.image).
Is it possible ? if possible please help me(Java using servlet).
I want to get total path,for example if the user upload an image from d drive like:
D:/sample.jpg ,
I want to get total that path only (D:/sample.image).
Is it possible ? if possible please help me(Java using servlet).
This information is not exposed to websites.
When a user uploads a file, only the path name component of the file can be thrusted. Google chrome for examples uploads files with C:/fakeroot/image.png
. The only way for you to get the real path is either using a java or flash applet that upload the files manually.