A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
A file path for an Appplication Build in JAVA(Windows platform) doesn't work on linux server
Joined: Jul 09, 2008
Jan 05, 2009 07:35:33
I have given a path in my xml file as
which works fine on my
development environment on Windows.When I deployed my application on linux box i gave my path as
It is showing an error as such a directory doesn't exist.A directory of the same path exists in my server space when i checked it with filezilla.I have also tried out afew options as
But unfortunately none didn't work, can any one please guide me in this issue to provide a directory path in linux?.
author and iconoclast
Joined: Jul 08, 2003
Jan 05, 2009 07:45:57
Linux is case-sensitive, where Windows isn't, and also those double slashes are unnecessary on both platforms, and might not even work on Linux. So pay attention to letter case, and get rid of the double slashes.
[Jess in Action]
Joined: Oct 13, 2005
Jan 05, 2009 12:35:01
"Bejoy KS" please read the important administrative private message I have just sent you.
I agree. Here's the link:
subject: A file path for an Appplication Build in JAVA(Windows platform) doesn't work on linux server
Upload File Error
Getting Installation Path of Webserver
how to remove the port number in URL
Getting Resin to ignore PHP script so that webserver deals with request
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015