tomcat- apache setup question
hi..
jsp/servlet/html files are properly displayed and working..
however, jsp vs servlet/html seems to have different root directory..
in jsp. when i use relative path such as /error/error.html
the jsp looks at /usr/local/jakarta-tomcat-3.3.1/webapps/ROOT/error/error.html
in html or servlets, when i use /error/error.html
they look at
/usr/local/apache/htdocs/error/error.html
it's really inconvenient.. any solutions plz..
------------------------------------------------
*.jsp files under
/usr/local/jakarta-tomcat-3.3.1/webapps/ROOT
are accessed by
localhost/*.jsp
-------------------------------------------------
===================================
*.html files under
/usr/local/apache/htdocs
are accessed by
localhost/*.html
====================================
--------------------------------------------------
servlets under
/usr/local/jakarta-tomcat-3.3.1/webapps/examples/WEB-INF/classes
is accessed by
localhost/examples/servlet/*
--------------------------------------------------
|