From taglibs-user-return-10023-apmail-jakarta-taglibs-user-archive=jakarta.apache.org@jakarta.apache.org Thu Mar 16 23:39:53 2006 Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@www.apache.org Received: (qmail 59270 invoked from network); 16 Mar 2006 23:39:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Mar 2006 23:39:52 -0000 Received: (qmail 82873 invoked by uid 500); 16 Mar 2006 23:39:48 -0000 Delivered-To: apmail-jakarta-taglibs-user-archive@jakarta.apache.org Received: (qmail 82842 invoked by uid 500); 16 Mar 2006 23:39:48 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 82831 invoked by uid 99); 16 Mar 2006 23:39:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 15:39:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.75.75.25] (HELO smtp.eunet.no) (193.75.75.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 15:39:45 -0800 Received: from [84.190.151.177] (p54BE97B1.dip0.t-ipconnect.de [84.190.151.177]) by smtp.eunet.no (Postfix) with ESMTP id B1A7BA7C96 for ; Fri, 17 Mar 2006 01:39:23 +0100 (CET) Message-ID: <4419F726.3030605@eunet.no> Date: Fri, 17 Mar 2006 00:39:18 +0100 From: Luca Passani User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tag Libraries Users List Subject: JSTL-EL question (instanceOf) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi here is my problem today. I am dealing with an API that I have not written and that is not very object oriented. I have a list of objects that have no common super class (or better, they have Object). In my JSP, which I would love to keep scriptlets-free, I need to loop through the list and treat each object differently depending on the type. Is there a way to do instanceOf using EL? render my special class : it should work on the same version of JSP supported by Tomcat 4 (1.2 if my memory doesn't fail me). Thanks Luca --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org