Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 73680 invoked from network); 2 Aug 2005 19:02:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2005 19:02:45 -0000 Received: (qmail 68071 invoked by uid 500); 2 Aug 2005 19:02:36 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 68019 invoked by uid 500); 2 Aug 2005 19:02:36 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 71193 invoked by uid 99); 2 Aug 2005 18:06:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jiaqi.guo@gmail.com designates 64.233.170.196 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding:from; b=VFPILoksvYKsfzUvAsxveJluXwO00v+N0K46vUM9V+dcBbPOVwO0a5dlRUhc5tKy4Ft9Ee71Wp6qT+PrqsyjMh0IP0BE4TSbSvPKhEy55MpdEyN7jQZ7zw10dHWShUBFpTFGZY4jykCa/TCX0y2sSDZHjsY+cOhT2JW/mwxO1Cg= Message-ID: <42EFB618.3000405@gmail.com> Date: Tue, 02 Aug 2005 13:06:16 -0500 User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: commons-user@jakarta.apache.org Subject: [jelly] Can I get the unique ID for current TagScript Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: "Guo, Jiaqi" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N When I'm in a home-made Tag class, can I get a unique identifier for the current TagScript? So that next time the same tag in the same script is invoked, I know it's the same thing. Therefore, if I want to cache something I can do it. I can't take MyTag.hashCode() because Tag is transient object in my case. Can I do MyTag.getBody().hashCode()? It doesn't sound well for those tags without body. Any solution for it? Thanks. Jiaqi jiaqi.guo@gmail.com http://www.cyclopsgroup.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org