Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 25280 invoked from network); 16 Jan 2002 12:15:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Jan 2002 12:15:55 -0000 Received: (qmail 29373 invoked by uid 97); 16 Jan 2002 12:15:30 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 29336 invoked by uid 97); 16 Jan 2002 12:15:29 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 29303 invoked from network); 16 Jan 2002 12:15:28 -0000 X-Originating-IP: [64.86.152.100] From: "Marcelo Demestri" To: "Tomcat Users List" References: Subject: --- Please helpme: Tomcat visibility (I think!) Date: Wed, 16 Jan 2002 09:13:52 -0800 Organization: Cytera Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 16 Jan 2002 12:14:39.0073 (UTC) FILETIME=[5EC38510:01C19E87] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 data 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 is 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 Found". As I said, I have a folder " MyApp " within " /webapps " but Tomcat does not find the jsp page. Inclusively I created a context for this application, but 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 is located by Tomcat... what it cannot find are the pages jsp). This is a prove to do anything more general: locate the jsp pages outside the structure of directories of Tomcat. Any advice or suggestions? Thanks in advance. ****************** My Server.xml ... ... ****************** My web.xml MyServlet MyServlet MyServlet /servlet/MyServlet Marcelo -- To unsubscribe: For additional commands: Troubles with the list: