You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guy Walker <gu...@telmarcorp.com> on 2000/08/24 21:32:55 UTC

init-param being overwritten

In the web.xml I am setting 5 init-param for one servlet. They contain path
information used by the servlet. Four of the init-params are passing the paths
as expected. The fifth init-param, named htmlhome is being overwritten with the
path to the context directory.

This is what I am sending:
homehtml=/home/httpd/html/

This is what the servlet is outputting:
homehtml=/opt/tomcat/webapps/servlets/

The only place I can find any setup that contains webapps/servlets/ is in
server.xml.
 <Context path="/servlets" docBase="webapps/servlets" debug="0"
reloadable="true" >
 </Context>

I have commented this out in server.xml and restarted apache and tomcat but
still see the same results.

Anyone have any ideas?

Linux RH6.2
Apache 1.3.12
Tomcat 3.1
jdk1.1.8 IBM

Guy Walker