tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sweetnam" <>
Subject RE: --- Please helpme: Tomcat visibility (I think!)
Date Wed, 16 Jan 2002 14:56:27 GMT
What is the difference between Tomcat and Catalina? There is TOMCAT_HOME
and CATALINA_HOME.. which do you define?

 -----Original Message-----
From: 	Marcelo Demestri [] 
Sent:	Wednesday, January 16, 2002 11:14 AM
To:	Tomcat Users List
Subject:	--- Please helpme: Tomcat visibility (I think!)

Hi all!
I hope that someone can help me, since this is urgent for me.
I have a servlet that processes certain information according to the
provided by the user.
My problem is: this servlet, when creating the path to call certain jsp,
uses a relative path of the type " / MyApp/html/arch.jsp ".  My arch.jsp
in the path %CATALINA_HOME%/webapps/MyApp/html/arch.jsp
If this structure of directories is not under ROOT (that is to say,
ROOT/MyApp/html/arch.jsp), Tomcat gives back an Error to me "404 Not
As I said, I have a folder " MyApp " within " /webapps " but Tomcat does
find the jsp page. Inclusively I created a context for this application,
it does not work. Also it tries servlet mapping within web.xml without
results (good, in fact this is not related to the problem, since servlet
located by Tomcat... what it cannot find are the pages jsp).
This is a prove to do anything more general:  locate the jsp pages
the structure of directories of Tomcat.
Any advice or suggestions?
Thanks in advance.

****************** My Server.xml
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
        <!-- Define the default virtual host -->
        <Host name="localhost" debug="0" appBase="webapps"
            <Context path="/MyApp" docBase="MyApp" debug="0"

****************** My web.xml


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message