Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 99036 invoked from network); 3 May 2005 16:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2005 16:29:55 -0000 Received: (qmail 89330 invoked by uid 500); 3 May 2005 15:42:10 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 89269 invoked by uid 500); 3 May 2005 15:42:09 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 89228 invoked by uid 99); 3 May 2005 15:42:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from yorktown.nielsenmedia.com (HELO yorktown.nielsenmedia.com) (206.113.192.17) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 03 May 2005 08:41:34 -0700 Received: from NMRFLIMG1.nmrlan.net (nmrflimg1.nmrlan.net [10.38.67.53]) by yorktown.nielsenmedia.com (8.12.10/8.12.8) with ESMTP id j43FXlAd015694 for ; Tue, 3 May 2005 11:33:47 -0400 (EDT) Received: from [10.45.138.82] (unverified) by NMRFLIMG1.nmrlan.net (Content Technologies SMTPRS 4.3.14) with ESMTP id for ; Tue, 3 May 2005 11:39:42 -0400 Message-ID: <42779B3E.5000209@reumann.net> Date: Tue, 03 May 2005 11:39:42 -0400 From: Rick Reumann User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: [OT] how to test user role in jsp References: <20050503144404.XVJN12975.viefep18-int.chello.at@gwextensa> In-Reply-To: <20050503144404.XVJN12975.viefep18-int.chello.at@gwextensa> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N G�nther Wieser wrote the following on 5/3/2005 10:44 AM: > > i would like to display a link depending if a user is in a certain role. is > there a test i could use in or anything else i could use > as a tag to do this? do i need to implement this on my own? I like the Struts logic present tag for this: .... JSTL has one also but, as far as I know, it doesn't check for multiple roles like the logic:present one does. -- Rick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org