Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The more that I read about relative paths, the more confused I get

Status
Not open for further replies.

MalCarne

Technical User
Apr 1, 2005
70
0
0
US
Can someone help me out with this? This is actually more java specific than jsp, but it's easier to illustrate with the jsp pages. From what I've read, relative paths are relative to where the method is being executed from.

I have a class that should read a text file using a relative path. If the class is called via then from what I've read, the path should be relative to MyApp/. Am I correct in this assumption or am I way off?

This is the last part of a project to be delivered tomorrow and I'm at a complete loss, any help is appreciated.

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top