On 21 Dec 2006 23:42:01 -0800, Justin wrote:
> I am attempting to input a database location from a txt file located
> within the build folder. However, I am having a bitchin time getting
> it to work with relative file location.
[...]
> dBLocation = new File("..consultrequest\\testing\\dBURL.txt");
Probably you meant "..\\consultrequest" here.
Also, realize that to work, the path must be relative to the working
directory at runtime, not compile time.
/gordon
--
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
|