Return-Path: X-Original-To: apmail-tomcat-taglibs-user-archive@www.apache.org Delivered-To: apmail-tomcat-taglibs-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52AE611560 for ; Wed, 24 Sep 2014 13:53:36 +0000 (UTC) Received: (qmail 75233 invoked by uid 500); 24 Sep 2014 13:53:31 -0000 Delivered-To: apmail-tomcat-taglibs-user-archive@tomcat.apache.org Received: (qmail 75201 invoked by uid 500); 24 Sep 2014 13:53:31 -0000 Mailing-List: contact taglibs-user-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@tomcat.apache.org Received: (qmail 75189 invoked by uid 99); 24 Sep 2014 13:53:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2014 13:53:30 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stuart.thiel@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2014 13:53:25 +0000 Received: by mail-qc0-f176.google.com with SMTP id o8so3442687qcw.35 for ; Wed, 24 Sep 2014 06:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=O0PrdwXlwIAsv12wjf0kS2PMMDmujAJONjeCOMWmXLE=; b=0fPVOaUv0YY+Eo2OSH/ooSK5oCe4ZHqEqI8KZuq7QwK7YjT9iWdXeC6/koSTbPlQmF JMl6VxVPzfWlf9/m0M0rB2Em06ixxF5czWnKe4hxucVoik3WaStHVisNTJ1dzthQ9AZU J6yT/6YltUHUM/0Dup2e3FHvji1vFQhgd5RBMu9oel6GZlbJ9+HE7k5Vf0y1IeYM5S/q VrcOwkKMlCi6M4eZ0ossNzNRKwPKI6T1ahVfrs3vDgm40cHNSDkxCU4X7jnrzob3gJTC tXLSEE5glZc/S+dfkH3bq7btMWx/NmjdoDCpCpLTKdYIKcYjkfRLjBa7YDgBGvfAosy0 zj/A== MIME-Version: 1.0 X-Received: by 10.224.73.132 with SMTP id q4mr9475641qaj.78.1411566784654; Wed, 24 Sep 2014 06:53:04 -0700 (PDT) Received: by 10.140.47.47 with HTTP; Wed, 24 Sep 2014 06:53:04 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Sep 2014 09:53:04 -0400 Message-ID: Subject: Re: How to use index in EL expression? From: Stuart Thiel To: Tag Libraries Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello Kazuaki, Very sorry for the response. I'm teaching this material right now and assumed this was a student request (I have 70 of them) and only now noticed that this was on the taglibs mailing list. Again, so sorry. The "advice" in the prior is still sound, but now very out fo context. The reasoning is still good. I really think something in your domain layer should be parsing your params and cleanly taking care of this all. You can still provide the cleaned up POJOS via attributes, and that makes more sense. If you're entirely skipping regular servlets and allowing direct access to JSP you can probably use something like ${paramValues.key[i]} On Wed, Sep 24, 2014 at 5:54 AM, Kazuaki Miyauchi wrote: > Hi, it is also convenient to use the iteration of ELs such as > . > Of course, it doesn't work. But, I'd like to do the following iteration. > > > > insert into member values (1,?::integer,${i},?,?,?) > > > > > > > > Is there some idea for this without whole description expanding i? > > Regards, > > --------------------------------------------------------------------- > To unsubscribe, e-mail: taglibs-user-unsubscribe@tomcat.apache.org > For additional commands, e-mail: taglibs-user-help@tomcat.apache.org > -- Stuart Thiel, P. Eng. --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@tomcat.apache.org For additional commands, e-mail: taglibs-user-help@tomcat.apache.org