Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@www.apache.org Received: (qmail 73083 invoked from network); 1 Mar 2006 07:40:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Mar 2006 07:40:16 -0000 Received: (qmail 98195 invoked by uid 500); 1 Mar 2006 07:40:59 -0000 Delivered-To: apmail-jakarta-taglibs-user-archive@jakarta.apache.org Received: (qmail 98166 invoked by uid 500); 1 Mar 2006 07:40:59 -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 98155 invoked by uid 99); 1 Mar 2006 07:40:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 23:40:59 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,FORGED_YAHOO_RCVD,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.39.227] (HELO web50314.mail.yahoo.com) (206.190.39.227) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Feb 2006 23:40:58 -0800 Received: (qmail 31367 invoked by uid 60001); 1 Mar 2006 07:40:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=xuTAXQZjaN9Yy41qJEirzz5IGokwuB2C6c1ajQ8IM3wTtYlhI3me81J449WhBBoAmyqKCQCA4vos4dXME2KTMIwF1/mGgmR2tCBhBLETyrOBOAqBiFBW0IMGlnIzz1YtjsXYl6cE0rgthqog2iVcykVI2HhdcYT7RC6I/OpOOWE= ; Message-ID: <20060301074037.31365.qmail@web50314.mail.yahoo.com> Date: Tue, 28 Feb 2006 23:40:37 -0800 (PST) From: Subject: URL-escape a var with JSTL To: taglibs-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I need to URL-escape a variable in JSTL, and am not having much luck finding the way to do it. For example, I currently do: Since "foo" param may include some funky characters, I need to URL-escape that. So I'm looking for something similar to: What's the right way to URL-encode a variable with JSTL, without resorting to scriptlets? Or is the only option to use escapeXml="true" when doing c:out? Thanks, Otis --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org