Is there a way to use relative file path (ex. "examples/docs/test.xml") when accessing(reading etc.) it from servlet rather then absolute (ex. "D:\smthg\app\docs\test.xml") path. Ex. : I have web app "examples" that mapped to d:\smthg\app. My file "test.xml" is in d:\smthg\app\docs. Can I access it using "examples/docs/test.xml? If yes, how? Right now it's translating it to Tomcat bin dir: "D:\jakarta-tomcat-3.2.2\bin\examples\docs\test.xml" Sorry, I'm new to Appache-Tomcat world...
- Re: Relative file path Julia Kuznetsov
- Re: Relative file path Bo Xu