Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79213 invoked from network); 15 Nov 2007 12:46:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2007 12:46:20 -0000 Received: (qmail 34380 invoked by uid 500); 15 Nov 2007 12:45:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 33413 invoked by uid 500); 15 Nov 2007 12:45:56 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 33402 invoked by uid 99); 15 Nov 2007 12:45:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 04:45:56 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [147.91.1.120] (HELO afrodita.rcub.bg.ac.yu) (147.91.1.120) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2007 12:45:45 +0000 Received: from [147.91.4.66] (ognjen-pc.rcub.bg.ac.yu [147.91.4.66]) by afrodita.rcub.bg.ac.yu (Postfix) with ESMTP id 41A761919430 for ; Thu, 15 Nov 2007 13:45:24 +0100 (CET) Message-ID: <473C3F61.8070900@etf.bg.ac.yu> Date: Thu, 15 Nov 2007 13:45:21 +0100 From: Ognjen Blagojevic User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Tomcat Users List Subject: FORM login, would like error page same as login page Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RCUB-MailScanner-Information: Please contact the ISP for more information X-RCUB-MailScanner: Found to be clean X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'm using FORM login, and I'm trying to make error page looks the same as login page, with one extra error message. So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. My web.xml configuration follows: FORM /WEB-INF/login/login.html /WEB-INF/login/login.html?err=1 But this doesn't work. I get the page login.html, but no error message. It seems that parameter err=1 is never passed to the page. Any other ideas how to achieve this? Regards, Ognjen --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org