Just so folks are aware, this has been solved. Apparently is was the
servlet that was resolving the location of the XML file based off the
Context Docbase, and there was a trick to getting it to realize that the
file path you were passing to it was a full file path and not a relative
file path.
In
Hmm... I tried this, and it looks as though Tomcat still pre-pends the
"/home/myuser/public_html/" to my XML file. My servlet throws the error:
java.io.FileNotFoundException:
/home/myuser/public_html/path/to/tomcat/conf/myservlet/myxmlfile.xml
and my file is really located at:
/path/to/tomcat/co
"Jordan Michaels" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm trying to set up a "init-param" in Tomcat's main web.xml file (the
> one in $CATALINA_HOME/conf/web.xml) that looks similar to the following:
>
>
>myServlet
>path.to.my.Servlet
>
>
I'm trying to set up a "init-param" in Tomcat's main web.xml file (the
one in $CATALINA_HOME/conf/web.xml) that looks similar to the following:
myServlet
path.to.my.Servlet
SOME_XML_FILE
./conf/myservlet/myxmlfile.xml
0
and in my