Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 77739 invoked from network); 1 Nov 2005 22:47:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Nov 2005 22:47:43 -0000 Received: (qmail 42551 invoked by uid 500); 1 Nov 2005 22:47:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 42523 invoked by uid 500); 1 Nov 2005 22:47:26 -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 42504 invoked by uid 500); 1 Nov 2005 22:47:26 -0000 Delivered-To: apmail-jakarta-tomcat-user@jakarta.apache.org Received: (qmail 42501 invoked by uid 99); 1 Nov 2005 22:47:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 14:47:26 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of surya.mishra@gmail.com designates 64.233.184.192 as permitted sender) Received: from [64.233.184.192] (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 14:47:22 -0800 Received: by wproxy.gmail.com with SMTP id i6so109685wra for ; Tue, 01 Nov 2005 14:47:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=AKgQFZmWBqHAoM5xqFAOP2kkAFIakkPQ4q4+67IbpmkvKmyZ79/W9XVUtb7gQRWpGzPRn8J7FfGT+rxchXdbPtO5XO88tPp1Ptuz09a/H/3rTu6CYEnj8W7tJ90Zl9glzAE8q/7wMZJicc2nfkVChoSW4GJzFic/yr2Q4gHhdR8= Received: by 10.54.130.9 with SMTP id c9mr1601485wrd; Tue, 01 Nov 2005 14:47:05 -0800 (PST) Received: by 10.54.159.4 with HTTP; Tue, 1 Nov 2005 14:47:05 -0800 (PST) Message-ID: <585196a70511011447n4890e40ar1c237d115ca02fb4@mail.gmail.com> Date: Tue, 1 Nov 2005 14:47:05 -0800 From: Surya Mishra To: Tomcat Users List Subject: Passing message to login failure page from a customer realm MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19232_8660171.1130885225111" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_19232_8660171.1130885225111 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I want to show a error page when the login fails. And I want to show a custom message whenever there is some system error like if the user databas= e is down or there is a network failure. How can I pass on the message from m= y customer realm to the error page? The realm doesn't have access to HttpSession or HttpServletRequest. or does it? Thanks -Surya ------=_Part_19232_8660171.1130885225111--