Specifying a relative path in web.xml when debugging a servlet with Eclipse's WTP Tomcat Server?

Posted by ilitirit on Stack Overflow See other posts from Stack Overflow or by ilitirit
Published on 2010-04-08T12:09:45Z Indexed on 2010/04/08 12:13 UTC
Read the original article Hit count: 394

Filed under:
|
|

I'm trying to specify a relative directory in the web.xml file. I basically want it to read the "data" folder underneath "web-inf", but nothing I've tried seems to work.

"/data" translates to the data folder in the root directory (I'm using windows).

"data" translates to "C:\Program Files\Eclipes\data"

"${CATALINA_HOME}/[etc...]" doesn't seem to work either.

Any ideas?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about tomcat