troubleshooting Question

path

Avatar of jaggernat
jaggernat asked on
Java
26 Comments1 Solution257 ViewsLast Modified:
hi guys

In my .properties file
i am reading some constants which equals to a location and trying to put
some files in that location

In my .properties file i have

REPORT_EDITION_DESTINATION=U:\VOB\Development\WebProject\WebContent\reportfileserver

I am reading the above line and putting the files in the above location U:\...
the above line works fine but i want to avoid giving the entire path.

i want some thing like
REPORT_EDITION_DESTINATION=\WebContent\reportfileserver OR
REPORT_EDITION_DESTINATION=\WebProject\WebContent\reportfileserver

so that i am not dependent on U:\ directory.

any ideas
thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 26 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 26 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros