Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 61633 invoked from network); 9 May 2000 06:35:19 -0000 Received: from penguin-ext.wise.edt.ericsson.se (HELO penguin.wise.edt.ericsson.se) (194.237.142.110) by locus.apache.org with SMTP; 9 May 2000 06:35:19 -0000 Received: from mbb6.ericsson.se (mbb6.ericsson.se [136.225.151.211]) by penguin.wise.edt.ericsson.se (8.10.1/8.10.1/WIREfire-1.9) with ESMTP id e496ZJp06355 for ; Tue, 9 May 2000 08:35:19 +0200 (MET DST) Received: from CONVERSION-DAEMON by mbb6.ericsson.se (PMDF V5.2-29 #39353) id <0FUA00J014YV6N@mbb6.ericsson.se> for tomcat-user@jakarta.apache.org; Tue, 9 May 2000 08:35:19 +0200 (MET DST) Received: from assc00.epa.ericsson.se (assc00.epa.ericsson.se [146.11.4.14]) by mbb6.ericsson.se (PMDF V5.2-29 #39353) with ESMTP id <0FUA00GGN4YPKA@mbb6.ericsson.se> for tomcat-user@jakarta.apache.org; Tue, 09 May 2000 08:35:19 +0200 (MET DST) Received: from aspc051.epa.ericsson.se ([146.11.4.151] helo=asac.ericsson.se ident=epaanwo) by assc00.epa.ericsson.se with esmtp (Exim 3.01 #2) id 12p3bs-0000GF-00 for tomcat-user@jakarta.apache.org; Tue, 09 May 2000 16:35:12 +1000 Date: Tue, 09 May 2000 16:35:11 +1000 From: Andrew Worsley Subject: How well does the web.xml file work in tomcat To: tomcat-user@jakarta.apache.org Message-id: X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N In particular it seems: WEB-INF/x.jsp is run yet page 44 of the 2.2 servlet Spec says nothing in this directory should be served by the webserver. I can't get the servlet definition to work for a jsp-file. I get : Error: 404 Location: /examples/jsp/webPN/login.jspnull File Not Found /examples/jsp/webPN/login.jspnull > which looks like a bug. Also how do I turn on the debugging in the server.xml file? At the moment it has debug="0" what's the sane values I should I use. "1" or something? Basically I want to have some pages which check the user has logged in via a session attribute and then forward to other JSP pages which don't do any checking. I can't figure out how to forward to a page which isn't directly accessible from a URL. If I try to block a URL pattern by mapping it to a particular servlet then forwards stop working. I haven't tried relative URLs of the form ../WEB-INF/secretpage.jsp yet. Is this a good way? I am using apache with mod_ssl and tomcat from that. This is the only way I know to get SSL with tomcat. Sorry if these are dumb questions but there is no FAQ for the list yet and the FAQ on the web site didn't seem to have anything relevant. Thanks in advance Andrew