From taglibs-user-returncarterdavid@example.net Sat Mar 01 15:08:03 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 39562 invoked from network); 1 Mar 2003 15:08:03 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2003 15:08:03 -0000 Received: (qmail 7311 invoked by uid 97); 1 Mar 2003 15:09:41 -0000 Delivered-To: carterdavid@example.net Received: (qmail 7304 invoked from network); 1 Mar 2003 15:09:41 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Mar 2003 15:09:41 -0000 Received: (qmail 39330 invoked by uid 500); 1 Mar 2003 15:07:59 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 39318 invoked from network); 1 Mar 2003 15:07:59 -0000 Received: from mkc-65-26-127-147.kc.rr.com (HELO portal.home.hanaden.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2003 15:07:59 -0000 Received: from fred.home.hanaden.com ([83.161.120.155] helo=hanaden.com) by portal.home.hanaden.com with asmtp (Exim 4.10) id 18p8am-0000vE-00 for carterdavid@example.net; Sat, 01 Mar 2003 09:08:00 -0600 Message-ID: <carterdavid@example.net> Date: Sat, 01 Mar 2003 09:08:30 -0600 From: Hanasaki JiJi <carterdavid@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030215 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tag Libraries Users List <carterdavid@example.net> Subject: Jakarata taglibs and JSTL Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Anyone care to share thoughts on which taglibs from jakarta are overlapping/complimentary/justUnique with respect to JSTL? Thanks -- ================================================================= = Management is doing things right; leadership is doing the = = right things. - Peter Drucker = =_______________________________________________________________= = http://www.sun.com/service/sunps/jdc/javacenter.pdf = = www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone = ================================================================= --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Sat Mar 01 21:47:34 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 72297 invoked from network); 1 Mar 2003 21:47:34 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2003 21:47:34 -0000 Received: (qmail 19221 invoked by uid 97); 1 Mar 2003 21:49:17 -0000 Delivered-To: carterdavid@example.net Received: (qmail 19214 invoked from network); 1 Mar 2003 21:49:17 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Mar 2003 21:49:17 -0000 Received: (qmail 72068 invoked by uid 500); 1 Mar 2003 21:47:32 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 72056 invoked from network); 1 Mar 2003 21:47:32 -0000 Received: from umbongo.flamefew.net (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2003 21:47:32 -0000 Received: by umbongo.flamefew.net (Postfix on Linux (i386), from userid 500) id B36EB3A2482; Sat, 1 Mar 2003 16:47:35 -0500 (EST) Received: from localhost (localhost [83.161.120.155]) by umbongo.flamefew.net (Postfix on Linux (i386)) with ESMTP id AB583296E95 for <carterdavid@example.net>; Sat, 1 Mar 2003 16:47:35 -0500 (EST) Date: Sat, 1 Mar 2003 16:47:35 -0500 (EST) From: Henri Yandell <carterdavid@example.net> X-X-Sender: <carterdavid@example.net> To: Tag Libraries Users List <carterdavid@example.net> Subject: Re: Jakarata taglibs and JSTL In-Reply-To: <carterdavid@example.net> Message-ID: <carterdavid@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I did it a little bit back, but it could have been on Dev list. I believe that currently my obvious toolset would be: JSTL, Log, Regexp, String. [also Iterators in the sandbox by its description] Each of these are generic enough to be something I'd expect to be available to me in any JSP page, and I'd expect them to be complimentary. The nightly String build does allow EL-ization. Doing the same for Log and Regexp is on my todo list. The next set are the overlapping [which to all extents and purposes I believe will be overriding and see no more development on the Jakarta taglibs]: Application DateTime DBTags I18N Page Request Response Session XTags While they may have functionalities not in JSTL, it's a typical example of a weaker standard being better than a stronger proprietary solution. Next there are the alsoUnique set, which I interpret as being outside the scope and range of a web designer's normal usage [which is JSTL's scope]: IO JMS Cache Benchmark BSF Mailer Scrape Generally I view these as being a way of handling small programming tasks in the JSP rather than hidden away in Java. I would not expect these to be in a JSP environment but would expect them to be architectual choices. Bear in mind that I'm only actively involved in 2 of these tags [I wrote String and I maintain Log]. There's also some work underway into a JUTL to complement JSTL [unstandard instead of standard] which may pull the pieces of functionality that the deprecated [someday] taglibs had that JSTL doesn't. Tim O'Brien has added an instanceof and ignore-case-equals tag to it and I'm working on a couple. Hen On Sat, 1 Mar 2003, Hanasaki JiJi wrote: > Anyone care to share thoughts on which taglibs from jakarta are > overlapping/complimentary/justUnique with respect to JSTL? > > Thanks > -- > ================================================================= > = Management is doing things right; leadership is doing the = > = right things. - Peter Drucker = > =_______________________________________________________________= > = http://www.sun.com/service/sunps/jdc/javacenter.pdf = > = www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone = > ================================================================= > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: carterdavid@example.net > For additional commands, e-mail: carterdavid@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Sat Mar 01 21:54:34 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 81236 invoked from network); 1 Mar 2003 21:54:33 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2003 21:54:33 -0000 Received: (qmail 19361 invoked by uid 97); 1 Mar 2003 21:56:16 -0000 Delivered-To: carterdavid@example.net Received: (qmail 19354 invoked from network); 1 Mar 2003 21:56:16 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Mar 2003 21:56:16 -0000 Received: (qmail 81015 invoked by uid 500); 1 Mar 2003 21:54:32 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 81000 invoked from network); 1 Mar 2003 21:54:31 -0000 Received: from umbongo.flamefew.net (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2003 21:54:31 -0000 Received: by umbongo.flamefew.net (Postfix on Linux (i386), from userid 500) id 063E13A2482; Sat, 1 Mar 2003 16:54:35 -0500 (EST) Received: from localhost (localhost [83.161.120.155]) by umbongo.flamefew.net (Postfix on Linux (i386)) with ESMTP id F2626296E95 for <carterdavid@example.net>; Sat, 1 Mar 2003 16:54:35 -0500 (EST) Date: Sat, 1 Mar 2003 16:54:35 -0500 (EST) From: Henri Yandell <carterdavid@example.net> X-X-Sender: <carterdavid@example.net> To: Tag Libraries Users List <carterdavid@example.net> Subject: JCE Taglib In-Reply-To: <carterdavid@example.net> Message-ID: <carterdavid@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This looks like a pretty useful taglib: http://jcetaglib.sourceforge.net/ Just thought I'd mention it :) Hen --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Sun Mar 02 00:46:55 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 76376 invoked from network); 2 Mar 2003 00:46:54 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 00:46:54 -0000 Received: (qmail 22604 invoked by uid 97); 2 Mar 2003 00:48:39 -0000 Delivered-To: carterdavid@example.net Received: (qmail 22597 invoked from network); 2 Mar 2003 00:48:39 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Mar 2003 00:48:39 -0000 Received: (qmail 76143 invoked by uid 500); 2 Mar 2003 00:46:53 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 76132 invoked from network); 2 Mar 2003 00:46:52 -0000 Received: from ld3.estpak.ee (HELO MX4.estpak.ee) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 00:46:52 -0000 Received: from mii 859-312-1121-dsl.trt.estpak.ee [83.161.120.155]) by MX4.estpak.ee (Postfix) with SMTP id 816101D000F for <carterdavid@example.net>; Sun, 2 Mar 2003 02:46:59 +0200 (EET) Message-ID: <002201c2e055$40987350$0401000a@mii> From: "Taavi Tiirik" <carterdavid@example.net> To: <carterdavid@example.net> Subject: ognl expressions in jstl tags Date: Sun, 2 Mar 2003 02:47:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I would like to use ognl (www.ognl.org) expressions in jstl tags. Is the expression language easily pluggable in jstl taglib? How? I could possibly extend every single tag that accepts expressions and teach them to use ognl instead? Or is the ExpressionEvaluatorManager configurable so that I could write a new Evaluator? I think I still need both expression languages available so there should be two sets of tags. And most importantly... has anybody allready done this? with best wishes, Taavi --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Sun Mar 02 18:34:26 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 55062 invoked from network); 2 Mar 2003 18:34:25 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 18:34:25 -0000 Received: (qmail 6017 invoked by uid 97); 2 Mar 2003 18:36:06 -0000 Delivered-To: carterdavid@example.net Received: (qmail 6010 invoked from network); 2 Mar 2003 18:36:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Mar 2003 18:36:05 -0000 Received: (qmail 52266 invoked by uid 500); 2 Mar 2003 18:34:00 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 52163 invoked from network); 2 Mar 2003 18:33:59 -0000 Received: from mx.symbol.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 18:33:59 -0000 Received: by mx.symbol.com; id h22IY2M04622; Sun, 2 Mar 2003 13:34:02 -0500 (EST) Received: from unknown(83.161.120.155) by mx.symbol.com via smap (V5.5) id xma004513; Sun, 2 Mar 03 13:33:54 -0500 Received: from olapserver ([83.161.120.155]) by proxy.symbol.com (8.12.3/8.12.3) with SMTP id h22IXsjL024918; Sun, 2 Mar 2003 13:33:54 -0500 (EST) Message-ID: <00a801c2e0eb$0f8891a0$127aeb9d@olapserver> From: "Sloan Seaman" <carterdavid@example.net> To: "Tag Libraries Users List" <carterdavid@example.net> Cc: "Struts Users Mailing List" <carterdavid@example.net> Subject: c:out Date: Sun, 2 Mar 2003 13:39:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a variable in the session named: com.symbol.mobilecommerce.analysis.SESSION_USER I want to get the object via c:out and use it in a JSP page. When I have the variable just named SESSION_USER it works fine. Example (note core:out = c:out) Greetings <core:out value="${sessionScope.SESSION_USER.firstName}"/> <core:out value="${sessionScope.SESSION_USER.lastName}"/>. But if I try: Greetings <core:out value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.firstN ame}"/> <core:out value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.lastNa me}"/>. It doesn't work. I know this is because c:out is trying to call the object com and then the getter symbol and so on. How do I get around this so that it works? Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Sun Mar 02 20:09:34 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 32894 invoked from network); 2 Mar 2003 20:09:34 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 20:09:34 -0000 Received: (qmail 7946 invoked by uid 97); 2 Mar 2003 20:11:16 -0000 Delivered-To: carterdavid@example.net Received: (qmail 7939 invoked from network); 2 Mar 2003 20:11:16 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Mar 2003 20:11:16 -0000 Received: (qmail 32676 invoked by uid 500); 2 Mar 2003 20:09:32 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 32638 invoked from network); 2 Mar 2003 20:09:31 -0000 Received: from umbongo.flamefew.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 20:09:31 -0000 Received: by umbongo.flamefew.net (Postfix on Linux (i386), from userid 500) id A45E43A2482; Sun, 2 Mar 2003 15:09:34 -0500 (EST) Received: from localhost (localhost [83.161.120.155]) by umbongo.flamefew.net (Postfix on Linux (i386)) with ESMTP id 9C47A296E95; Sun, 2 Mar 2003 15:09:34 -0500 (EST) Date: Sun, 2 Mar 2003 15:09:34 -0500 (EST) From: Henri Yandell <carterdavid@example.net> X-X-Sender: <carterdavid@example.net> To: Tag Libraries Users List <carterdavid@example.net> Cc: Struts Users Mailing List <carterdavid@example.net> Subject: Re: c:out In-Reply-To: <00a801c2e0eb$0f8891a0$127aeb9d@olapserver> Message-ID: <{{EMAIL+PHONE}}> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm just guessing, based on frequent other answers to the list, but have you tried: ${sessionScope['com.symbol.mobilecommerce.analysis.SESSION_USER'].firstName} Hen On Sun, 2 Mar 2003, Sloan Seaman wrote: > I have a variable in the session named: > com.symbol.mobilecommerce.analysis.SESSION_USER > > I want to get the object via c:out and use it in a JSP page. > When I have the variable just named SESSION_USER it works fine. > Example (note core:out = c:out) > Greetings > <core:out value="${sessionScope.SESSION_USER.firstName}"/> > <core:out value="${sessionScope.SESSION_USER.lastName}"/>. > > But if I try: > Greetings > <core:out > value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.firstN > ame}"/> > <core:out > value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.lastNa > me}"/>. > > It doesn't work. > > I know this is because c:out is trying to call the object com and then the > getter symbol and so on. > > How do I get around this so that it works? > > Thanks! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: carterdavid@example.net > For additional commands, e-mail: carterdavid@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Sun Mar 02 20:10:44 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 34344 invoked from network); 2 Mar 2003 20:10:44 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 20:10:44 -0000 Received: (qmail 7957 invoked by uid 97); 2 Mar 2003 20:12:26 -0000 Delivered-To: carterdavid@example.net Received: (qmail 7950 invoked from network); 2 Mar 2003 20:12:26 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Mar 2003 20:12:26 -0000 Received: (qmail 34163 invoked by uid 500); 2 Mar 2003 20:10:42 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 34149 invoked from network); 2 Mar 2003 20:10:41 -0000 Received: from swan.mail.pas.earthlink.net (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 20:10:41 -0000 Received: from evrtwa1-ar4-4-35-107-003.evrtwa1.elnk.dsl.genuity.net ([83.161.120.155] helo=wondark.earthlink.net) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18pZnK-0006Pt-00 for carterdavid@example.net; Sun, 02 Mar 2003 12:10:46 -0800 To: carterdavid@example.net Subject: Re: c:out References: <00a801c2e0eb$0f8891a0$127aeb9d@olapserver> From: carterdavid@example.net (David M. Karr) Date: 02 Mar 2003 12:10:59 -0800 In-Reply-To: <00a801c2e0eb$0f8891a0$127aeb9d@olapserver> Message-ID: <carterdavid@example.net> Lines: 39 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Native Windows TTY Support (Windows)) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >>>>> "Sloan" == Sloan Seaman <carterdavid@example.net> writes: Sloan> I have a variable in the session named: Sloan> com.symbol.mobilecommerce.analysis.SESSION_USER Sloan> I want to get the object via c:out and use it in a JSP page. Sloan> When I have the variable just named SESSION_USER it works fine. Sloan> Example (note core:out = c:out) Sloan> Greetings Sloan> <core:out value="${sessionScope.SESSION_USER.firstName}"/> Sloan> <core:out value="${sessionScope.SESSION_USER.lastName}"/>. Sloan> But if I try: Sloan> Greetings Sloan> <core:out Sloan> value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.firstN Sloan> ame}"/> Sloan> <core:out Sloan> value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.lastNa Sloan> me}"/>. Sloan> It doesn't work. Sloan> I know this is because c:out is trying to call the object com and then the Sloan> getter symbol and so on. Sloan> How do I get around this so that it works? Try: value='${sessionScope["com.symbol.mobilecommerce.analysis.SESSION_USER"].firstName}' -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ carterdavid@example.net ; SCJP; SCWCD --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Sun Mar 02 21:01:35 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 69776 invoked from network); 2 Mar 2003 21:01:34 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 21:01:34 -0000 Received: (qmail 9113 invoked by uid 97); 2 Mar 2003 21:03:17 -0000 Delivered-To: carterdavid@example.net Received: (qmail 9106 invoked from network); 2 Mar 2003 21:03:16 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 2 Mar 2003 21:03:16 -0000 Received: (qmail 69504 invoked by uid 500); 2 Mar 2003 21:01:32 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 69491 invoked from network); 2 Mar 2003 21:01:32 -0000 Received: from mx.symbol.com (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2003 21:01:32 -0000 Received: by mx.symbol.com; id h22L1bs21302; Sun, 2 Mar 2003 16:01:37 -0500 (EST) Received: from unknown(83.161.120.155) by mx.symbol.com via smap (V5.5) id xma021246; Sun, 2 Mar 03 16:00:36 -0500 Received: from olapserver ([83.161.120.155]) by proxy.symbol.com (8.12.3/8.12.3) with SMTP id h22L0ZjL029561 for <carterdavid@example.net>; Sun, 2 Mar 2003 16:00:35 -0500 (EST) Message-ID: <010a01c2e0ff$8dc90900$127aeb9d@olapserver> From: "Sloan Seaman" <carterdavid@example.net> To: "Tag Libraries Users List" <carterdavid@example.net> References: <{{EMAIL+PHONE}}> Subject: Re: c:out Date: Sun, 2 Mar 2003 16:06:11 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That works... thanks! ----- Original Message ----- From: "Henri Yandell" <carterdavid@example.net> To: "Tag Libraries Users List" <carterdavid@example.net> Cc: "Struts Users Mailing List" <carterdavid@example.net> Sent: Sunday, March 02, 2003 3:09 PM Subject: Re: c:out > > I'm just guessing, based on frequent other answers to the list, but have > you tried: > > ${sessionScope['com.symbol.mobilecommerce.analysis.SESSION_USER'].firstName} > > > Hen > > On Sun, 2 Mar 2003, Sloan Seaman wrote: > > > I have a variable in the session named: > > com.symbol.mobilecommerce.analysis.SESSION_USER > > > > I want to get the object via c:out and use it in a JSP page. > > When I have the variable just named SESSION_USER it works fine. > > Example (note core:out = c:out) > > Greetings > > <core:out value="${sessionScope.SESSION_USER.firstName}"/> > > <core:out value="${sessionScope.SESSION_USER.lastName}"/>. > > > > But if I try: > > Greetings > > <core:out > > value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.firstN > > ame}"/> > > <core:out > > value="${sessionScope.com.symbol.mobilecommerce.analysis.SESSION_USER.lastNa > > me}"/>. > > > > It doesn't work. > > > > I know this is because c:out is trying to call the object com and then the > > getter symbol and so on. > > > > How do I get around this so that it works? > > > > Thanks! > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: carterdavid@example.net > > For additional commands, e-mail: carterdavid@example.net > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: carterdavid@example.net > For additional commands, e-mail: carterdavid@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Mon Mar 03 10:17:48 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 12658 invoked from network); 3 Mar 2003 10:17:48 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 10:17:48 -0000 Received: (qmail 28024 invoked by uid 97); 3 Mar 2003 10:19:38 -0000 Delivered-To: carterdavid@example.net Received: (qmail 28017 invoked from network); 3 Mar 2003 10:19:38 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 10:19:38 -0000 Received: (qmail 12445 invoked by uid 500); 3 Mar 2003 10:17:45 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 12434 invoked from network); 3 Mar 2003 10:17:45 -0000 Received: from tsing.ita.tip.net (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 10:17:45 -0000 Received: from kemen.it ([83.161.120.155]) by tsing.ita.tip.net (8.12.5/8.12.5) with ESMTP id h23AHkaD029216 for <carterdavid@example.net>; Mon, 3 Mar 2003 11:17:56 +0100 (MET) Message-ID: <carterdavid@example.net> Date: Mon, 03 Mar 2003 11:17:38 +0100 From: Lorenzo Sicilia <carterdavid@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: it, en, en-us MIME-Version: 1.0 To: Tag Libraries Users List <carterdavid@example.net> Subject: jstl & dataSource References: <{{EMAIL+PHONE}}> <010a01c2e0ff$8dc90900$127aeb9d@olapserver> In-Reply-To: <010a01c2e0ff$8dc90900$127aeb9d@olapserver> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi, I had try to use dataSource in sql TAG but... "Unable to get COnnection, Datasource ivalid:'no suitable driver' " It is strage because in another application (Flash Remoting) I use the same driver perfectly. I work with JRUN4 and Apache 2.44 on windowsXP (staging) jvm 1.4.1 JRUN4 ang Apache 2.40 LInux (production) jvm 1.4.1 my script: 1) <sql:setDataSource dataSource="aosta" scope="request" /> <sql:query var="test" dataSource="aosta" > SELECT * FROM users </sql:query> <c:forEach items="${test.rows}" var="row"> <c:out value="${row.username}"/> </c:forEach> 2) <sql:query var="test" dataSource="aosta" > SELECT * FROM users </sql:query> <c:forEach items="${test.rows}" var="row"> <c:out value="${row.username}"/> </c:forEach> Both don't work :o( Some one can help me? thanks in advance Lorenzo Sicilia --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Mon Mar 03 11:48:24 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 10368 invoked from network); 3 Mar 2003 11:48:24 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 11:48:24 -0000 Received: (qmail 29590 invoked by uid 97); 3 Mar 2003 11:50:01 -0000 Delivered-To: carterdavid@example.net Received: (qmail 29583 invoked from network); 3 Mar 2003 11:50:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 11:50:00 -0000 Received: (qmail 10135 invoked by uid 500); 3 Mar 2003 11:48:22 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 10124 invoked from network); 3 Mar 2003 11:48:21 -0000 Received: from dswu83.btconnect.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 11:48:21 -0000 Received: from there (actually host 83.161.120.155.in-addr.arpa) by dswu83 with SMTP (XT-PP); Mon, 3 Mar 2003 11:50:09 +0000 Content-Type: text/plain; charset="iso-8859-1" From: David Goodenough <carterdavid@example.net> Organization: D.G.A. ltd To: carterdavid@example.net Subject: Dynamically built select statements (SQL) Date: Mon, 3 Mar 2003 11:39:01 +0000 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have a problem with a SQL select statement that I need to build dynamically. Most of the select remains constant, but depending on which fields are filled in on the search form the WHERE clause changes. This code used to be largely Java when this application ran on Websphere, but having moved it to Tomcat and JSTL I would rather minimise the Java (I could always write a bean if it is not possible otherwise, but I would rather not). I have built a JSTL variable called where, and I then build the SELECT statement:- <sql:query> SELECT dno, action, destination, quantity, updated FROM load WHERE <c:out value="${where}" /> </sql:query> When I try to run this I get an SQL exception (javax.servlet.ServletException) :- SELECT dno, action, due, destination, quantity, updated FROM load WHERE area = 'NW' ORDER BY due DESC FOR READ ONLY : ERROR: parser: parse error at or near "NW" The backend DB is Postgres, which seems to work very nicely in all the other SQL I have thrown at it from JSTL. However the others have fixed SELECT statements and I put the values in using <sql:param>. In this case I have one of three basic bits of the WHERE clause, and two secondary search items, and the thought of having the full set of separate SELECT statements does not seem right. I am obviously doing something extreemly silly, can anyone spot it? David --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Mon Mar 03 12:53:29 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 62339 invoked from network); 3 Mar 2003 12:53:29 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 12:53:29 -0000 Received: (qmail 1209 invoked by uid 97); 3 Mar 2003 12:55:07 -0000 Delivered-To: carterdavid@example.net Received: (qmail 1202 invoked from network); 3 Mar 2003 12:55:06 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 12:55:06 -0000 Received: (qmail 62127 invoked by uid 500); 3 Mar 2003 12:53:27 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 62110 invoked from network); 3 Mar 2003 12:53:26 -0000 Received: from preter.essentially.net (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 12:53:26 -0000 Received: from precision (preter [83.161.120.155]) by preter.essentially.net (8.9.3/8.9.3) with ESMTP id HAA19339 for <carterdavid@example.net>; Mon, 3 Mar 2003 07:53:27 -0500 Date: Mon, 3 Mar 2003 07:53:22 -0500 (EST) From: Shawn Bayern <carterdavid@example.net> X-Sender: bayern@precision To: Tag Libraries Users List <carterdavid@example.net> Subject: Re: Dynamically built select statements (SQL) In-Reply-To: <carterdavid@example.net> Message-ID: <Pine.LNX.4.21.0303030752370.2910-100000@precision> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 3 Mar 2003, David Goodenough wrote: > <sql:query> > SELECT dno, action, destination, quantity, updated FROM load > WHERE <c:out value="${where}" /> > </sql:query> > > When I try to run this I get an SQL exception > (javax.servlet.ServletException) :- > > SELECT dno, action, due, destination, quantity, updated FROM load > WHERE area = 'NW' > ORDER BY due DESC FOR READ ONLY > : ERROR: parser: parse error at or near "NW" The <c:out> tag by default escapes quotation marks, as they are XML metacharacters. Use the escapeXml="false" attribute to get around your problem. (The problem would show up more clearly if you looked at the raw HTML source of the page that's giving you this error message.) -- Shawn Bayern "JSTL in Action" http://www.manning.com/bayern --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Mon Mar 03 13:55:13 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 40888 invoked from network); 3 Mar 2003 13:55:12 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 13:55:12 -0000 Received: (qmail 3156 invoked by uid 97); 3 Mar 2003 13:56:50 -0000 Delivered-To: carterdavid@example.net Received: (qmail 3149 invoked from network); 3 Mar 2003 13:56:50 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 13:56:50 -0000 Received: (qmail 40696 invoked by uid 500); 3 Mar 2003 13:55:10 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 40685 invoked from network); 3 Mar 2003 13:55:10 -0000 Received: from unknown (HELO Excalibur.ods.co.cr) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 13:55:10 -0000 Received: from Ivonne.ods.co.cr (ip254-10.ct.co.cr [83.161.120.155] (may be forged)) by Excalibur.ods.co.cr (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id h23FrOPt025858; Mon, 3 Mar 2003 07:53:25 -0800 Message-Id: <carterdavid@example.net> X-Sender: carterdavid@example.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 03 Mar 2003 07:53:14 -0600 To: "Tag Libraries Users List" <carterdavid@example.net> From: Ivonne Barrantes <carterdavid@example.net> Subject: Re: jstl & dataSource Cc: Tag Libraries Users List <carterdavid@example.net> In-Reply-To: <carterdavid@example.net> References: <010a01c2e0ff$8dc90900$127aeb9d@olapserver> <{{EMAIL+PHONE}}> <010a01c2e0ff$8dc90900$127aeb9d@olapserver> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_1535698==_.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_1535698==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed I've had that same problem a few days ago. Besides the code you already typed (which seems to be ok) you will need to have: 1) The library (.jar) under your JSP container's specific sub directory (e.g. d:\tomcat\common\lib). Not on your application (so it works from any other application you want to create on the future) 2) A .xml file (named exactly the same as your context with the specification of your connection. <Resource name="jdbc/DailyUsers" auth="Container" type="javax.sql.DataSource" /> <ResourceParams name="jdbc/DailyUsers"> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> </parameter> <parameter> <name>driverClassName</name> <value>org.postgresql.Driver</value> </parameter> <parameter> <name>url</name> <value>jdbc:postgresql://localhost:5432/users</value> </parameter> <parameter> <name>username</name> <value>abcdef</value> </parameter> <parameter> <name>password</name> <value>123456789</value> </parameter> <parameter> <name>maxActive</name> <value>20</value> </parameter> <parameter> <name>maxIdle</name> <value>10</value> </parameter> <parameter> <name>maxWait</name> <value>-1</value> </parameter> </ResourceParams> This examples uses a postgres jdbc, you might change drivers & stuff for your own jdbc. Good look!!! --=====================_1535698==_.ALT-- From taglibs-user-returncarterdavid@example.net Mon Mar 03 15:03:17 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 78192 invoked from network); 3 Mar 2003 15:03:16 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 15:03:16 -0000 Received: (qmail 6406 invoked by uid 97); 3 Mar 2003 15:04:55 -0000 Delivered-To: carterdavid@example.net Received: (qmail 6398 invoked from network); 3 Mar 2003 15:04:54 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 15:04:54 -0000 Received: (qmail 76208 invoked by uid 500); 3 Mar 2003 15:02:34 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 76178 invoked from network); 3 Mar 2003 15:02:34 -0000 Received: from dswu82.btconnect.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 15:02:34 -0000 Received: from there (actually host 83.161.120.155.in-addr.arpa) by dswu82 with SMTP (XT-PP); Mon, 3 Mar 2003 15:01:29 +0000 Content-Type: text/plain; charset="iso-8859-1" From: David Goodenough <carterdavid@example.net> Organization: D.G.A. ltd To: "Tag Libraries Users List" <carterdavid@example.net> Subject: Re: Dynamically built select statements (SQL) Date: Mon, 3 Mar 2003 15:02:13 +0000 X-Mailer: KMail [version 1.3.2] References: <Pine.LNX.4.21.0303030752370.2910-100000@precision> In-Reply-To: <Pine.LNX.4.21.0303030752370.2910-100000@precision> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Monday 03 March 2003 12:53, you wrote: > On Mon, 3 Mar 2003, David Goodenough wrote: > > <sql:query> > > SELECT dno, action, destination, quantity, updated FROM load > > WHERE <c:out value="${where}" /> > > </sql:query> > > > > When I try to run this I get an SQL exception > > (javax.servlet.ServletException) :- > > > > SELECT dno, action, due, destination, quantity, updated FROM load > > WHERE area = 'NW' > > ORDER BY due DESC FOR READ ONLY > > > > : ERROR: parser: parse error at or near "NW" > > The <c:out> tag by default escapes quotation marks, as they are XML > metacharacters. Use the escapeXml="false" attribute to get around your > problem. (The problem would show up more clearly if you looked at the raw > HTML source of the page that's giving you this error message.) Thank you, I knew it had to be something simple that I was doing wrong. That fixed the problem. Now for the next one. I am trying to use the SQL resultset method isLimitedByMaxRows. I tried <c:if test="${result.isLimitedByMaxRows}"> but that got reject with unable to get value of ... with operator ".", so I tried result.limitedByMaxRows and that got the same. Presumably it is looking for a get method, how do I access an is method? David --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Mon Mar 03 15:54:58 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 10670 invoked from network); 3 Mar 2003 15:54:57 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 15:54:57 -0000 Received: (qmail 9319 invoked by uid 97); 3 Mar 2003 15:56:36 -0000 Delivered-To: carterdavid@example.net Received: (qmail 9312 invoked from network); 3 Mar 2003 15:56:36 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 15:56:36 -0000 Received: (qmail 94088 invoked by uid 500); 3 Mar 2003 15:50:06 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 94037 invoked from network); 3 Mar 2003 15:50:05 -0000 Received: from preter.essentially.net (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 15:50:05 -0000 Received: from precision (preter [83.161.120.155]) by preter.essentially.net (8.9.3/8.9.3) with ESMTP id KAA20051 for <carterdavid@example.net>; Mon, 3 Mar 2003 10:50:08 -0500 Date: Mon, 3 Mar 2003 10:50:05 -0500 (EST) From: Shawn Bayern <carterdavid@example.net> X-Sender: bayern@precision To: Tag Libraries Users List <carterdavid@example.net> Subject: Re: Dynamically built select statements (SQL) In-Reply-To: <carterdavid@example.net> Message-ID: <Pine.LNX.4.21.0303031049130.2910-100000@precision> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 3 Mar 2003, David Goodenough wrote: > Now for the next one. I am trying to use the SQL resultset method > isLimitedByMaxRows. I tried <c:if > test="${result.isLimitedByMaxRows}"> but that got reject with unable > to get value of ... with operator ".", so I tried > result.limitedByMaxRows and that got the same. Presumably it is > looking for a get method, how do I access an is method? ${result.limitedByMaxRows} is correct; are you sure it produced an error? -- Shawn Bayern "JSTL in Action" http://www.manning.com/bayern --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Mon Mar 03 16:56:06 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 75401 invoked from network); 3 Mar 2003 16:56:06 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 16:56:06 -0000 Received: (qmail 12216 invoked by uid 97); 3 Mar 2003 16:57:46 -0000 Delivered-To: carterdavid@example.net Received: (qmail 12209 invoked from network); 3 Mar 2003 16:57:45 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 16:57:45 -0000 Received: (qmail 74153 invoked by uid 500); 3 Mar 2003 16:55:49 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 74083 invoked from network); 3 Mar 2003 16:55:49 -0000 Received: from c2bapps1.btconnect.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 16:55:49 -0000 Received: from there (actually host 83.161.120.155.in-addr.arpa) by c2bapps1 with SMTP (XT-PP); Mon, 3 Mar 2003 16:55:32 +0000 Content-Type: text/plain; charset="iso-8859-1" From: David Goodenough <carterdavid@example.net> Organization: D.G.A. ltd To: "Tag Libraries Users List" <carterdavid@example.net> Subject: Re: Dynamically built select statements (SQL) Date: Mon, 3 Mar 2003 16:55:34 +0000 X-Mailer: KMail [version 1.3.2] References: <Pine.LNX.4.21.0303031049130.2910-100000@precision> In-Reply-To: <Pine.LNX.4.21.0303031049130.2910-100000@precision> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Monday 03 March 2003 15:50, you wrote: > On Mon, 3 Mar 2003, David Goodenough wrote: > > Now for the next one. I am trying to use the SQL resultset method > > isLimitedByMaxRows. I tried <c:if > > test="${result.isLimitedByMaxRows}"> but that got reject with unable > > to get value of ... with operator ".", so I tried > > result.limitedByMaxRows and that got the same. Presumably it is > > looking for a get method, how do I access an is method? > > ${result.limitedByMaxRows} is correct; are you sure it produced an error? You are right, I really must learn to spell! Thanks David --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Mon Mar 03 17:04:02 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 95223 invoked from network); 3 Mar 2003 17:04:02 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 17:04:02 -0000 Received: (qmail 12428 invoked by uid 97); 3 Mar 2003 17:05:42 -0000 Delivered-To: carterdavid@example.net Received: (qmail 12421 invoked from network); 3 Mar 2003 17:05:42 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 3 Mar 2003 17:05:42 -0000 Received: (qmail 95000 invoked by uid 500); 3 Mar 2003 17:04:00 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 94986 invoked from network); 3 Mar 2003 17:04:00 -0000 Received: from nwkea-mail-2.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2003 17:04:00 -0000 Received: from ha2sca-mail1.SFBay.Sun.COM ([83.161.120.155]) by nwkea-mail-2.sun.com (8.9.3+Sun/8.9.3) with ESMTP id JAA11559 for <carterdavid@example.net>; Mon, 3 Mar 2003 09:04:01 -0800 (PST) Received: from sun.com (d-usca14-133-107 [83.161.120.155]) by ha2sca-mail1.SFBay.Sun.COM (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id h23H3xY03756 for <carterdavid@example.net>; Mon, 3 Mar 2003 09:04:00 -0800 (PST) Message-ID: <carterdavid@example.net> Date: Mon, 03 Mar 2003 09:02:41 -0800 From: Pierre Delisle <carterdavid@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en MIME-Version: 1.0 To: Tag Libraries Users List <carterdavid@example.net> Subject: Re: Date value "now" References: <carterdavid@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Goodenough wrote: > In an early version of JSTL (one prior to proper release) I seem to recall > that leaving the value out of a fmt:formatDate tag defaulted to using the > value of "now" as the time/date to format. This seems to have vanished > from the released version. Firstly why the change, and secondly what is > the approved method, preferably without resorting to Java, of formatting > the current time. The best I have found is to jsp:useBean with class > java.util.Date, which will default to now, and format that. > > Thanks in advance > > David Can't remember exactly why it was dropped, but I'm sure there was a good reason :-). We had then added the following text in the spec (Section 9.9) to make sure questions like yours would be answered in the spec itself: In order to format the current date and time, a <jsp:useBean> action may be used as follows: <jsp:useBean id="now" class="java.util.Date" /> <fmt:formatDate value="${now}" /> -- Pierre > > --------------------------------------------------------------------- > To unsubscribe, e-mail: carterdavid@example.net > For additional commands, e-mail: carterdavid@example.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Tue Mar 04 19:55:08 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 28019 invoked from network); 4 Mar 2003 19:55:07 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 4 Mar 2003 19:55:07 -0000 Received: (qmail 23677 invoked by uid 97); 4 Mar 2003 19:56:49 -0000 Delivered-To: carterdavid@example.net Received: (qmail 23670 invoked from network); 4 Mar 2003 19:56:49 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 4 Mar 2003 19:56:49 -0000 Received: (qmail 27826 invoked by uid 500); 4 Mar 2003 19:55:05 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 27808 invoked from network); 4 Mar 2003 19:55:04 -0000 Received: from bay1-dav53.bay1.hotmail.com (HELO hotmail.com) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Mar 2003 19:55:04 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 4 Mar 2003 11:55:09 -0800 X-Originating-IP: [83.161.120.155] From: "Michael C. Lee Jr." <carterdavid@example.net> To: <carterdavid@example.net> Subject: trying to create generic transformer jsp Date: Tue, 4 Mar 2003 14:53:59 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0022_01C2E25D.E3993620" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <carterdavid@example.net> X-OriginalArrivalTime: 04 Mar 2003 19:55:09.0679 (UTC) FILETIME=[F61467F0:01C2E287] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0022_01C2E25D.E3993620 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hey all. I've read through the JSTL documentation and this groups email = archives and haven't seen any good examples that help me with what I'm = tyring to do. I want to use the x:transform. I get the xsl url from the parameter list. I get the filename and extension from the parameter list. I get the name of a bean that contains a method called getXml() that = returns a String that is the XML I wish to transform. I can't figure out how to do this. :( The url is like this; transform.jsp?bean=3DsomeBean&xslFile=3DsomeFileURL&filename=3DresponseFi= lename&type=3Dextension I would like to do String xml =3D someBean.getXml(); <c:import ? ?? var=3D"xml"/> <c:import url=3D"someFileURLl" var=3D"xslt"/> <c:import ??? var=3D"filename"/> <- Built from = responseFilename+extension <x:transform xml=3D'${xml}' xslt=3D'${xslt}" result=3D"filename"/> thanks, Mike ------=_NextPart_000_0022_01C2E25D.E3993620-- From taglibs-user-returncarterdavid@example.net Tue Mar 04 20:10:37 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 77171 invoked from network); 4 Mar 2003 20:10:37 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 4 Mar 2003 20:10:37 -0000 Received: (qmail 24393 invoked by uid 97); 4 Mar 2003 20:12:19 -0000 Delivered-To: carterdavid@example.net Received: (qmail 24386 invoked from network); 4 Mar 2003 20:12:19 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 4 Mar 2003 20:12:19 -0000 Received: (qmail 76246 invoked by uid 500); 4 Mar 2003 20:10:26 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 76169 invoked from network); 4 Mar 2003 20:10:25 -0000 Received: from relay1.salleurl.edu (83.161.120.155) by daedalus.apache.org with SMTP; 4 Mar 2003 20:10:25 -0000 Received: from columba.salleURL.edu (columba.salleURL.edu [83.161.120.155]) by relay1.salleurl.edu (8.12.8/8.12.4) with ESMTP id h24KACMg008137 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <carterdavid@example.net>; Tue, 4 Mar 2003 21:10:13 +0100 Received: from pcjordivr (pcjordivr.salleURL.edu [83.161.120.155]) by columba.salleURL.edu (8.12.8/8.11.1) with SMTP id h24K9XFZ020920 for <carterdavid@example.net>; Tue, 4 Mar 2003 21:09:33 +0100 Message-ID: <004601c2e28a$4a5cdfc0$b20110ac@pcjordivr> From: "Jordi Valldaura" <carterdavid@example.net> To: "Tag Libraries Users List" <carterdavid@example.net> References: <carterdavid@example.net> Subject: Re: trying to create generic transformer jsp Date: Tue, 4 Mar 2003 21:11:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: Escanejat per AMAVIS (http://www.amavis.org/) a Enginyeria La Salle - Relay1 X-Virus-Scanned: per AMAVIS (http://amavis.org/) a Enginyeria La Salle X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, try this <%@ page language="java" %> <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %> <c:import url="${param.xsltFile}" var="xslt"/> <x:transform xslt="${xslt}" xml="${beanname.xml}"/> I dont know what u wanna do with the filename and the extension -------------------------------------------------------------------- Jordi Valldaura i Riqué CSI - Centre de Serveis Informàtics Enginyeria i Arquitectura La Salle Universitat Ramón Llull -------------------------------------------------------------------- ----- Original Message ----- From: "Michael C. Lee Jr." <carterdavid@example.net> To: <carterdavid@example.net> Sent: Tuesday, March 04, 2003 8:53 PM Subject: trying to create generic transformer jsp Hey all. I've read through the JSTL documentation and this groups email archives and haven't seen any good examples that help me with what I'm tyring to do. I want to use the x:transform. I get the xsl url from the parameter list. I get the filename and extension from the parameter list. I get the name of a bean that contains a method called getXml() that returns a String that is the XML I wish to transform. I can't figure out how to do this. :( The url is like this; transform.jsp?bean=someBean&xslFile=someFileURL&filename=responseFilename&ty pe=extension I would like to do String xml = someBean.getXml(); <c:import ? ?? var="xml"/> <c:import url="someFileURLl" var="xslt"/> <c:import ??? var="filename"/> <- Built from responseFilename+extension <x:transform xml='${xml}' xslt='${xslt}" result="filename"/> thanks, Mike --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Wed Mar 05 03:22:27 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 60311 invoked from network); 5 Mar 2003 03:22:26 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2003 03:22:26 -0000 Received: (qmail 3755 invoked by uid 97); 5 Mar 2003 03:24:13 -0000 Delivered-To: carterdavid@example.net Received: (qmail 3748 invoked from network); 5 Mar 2003 03:24:13 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 5 Mar 2003 03:24:13 -0000 Received: (qmail 60086 invoked by uid 500); 5 Mar 2003 03:22:23 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 60073 invoked from network); 5 Mar 2003 03:22:23 -0000 Received: from mkc-65-26-127-147.kc.rr.com (HELO portal.home.hanaden.com) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2003 03:22:23 -0000 Received: from fred.home.hanaden.com ([83.161.120.155] helo=hanaden.com) by portal.home.hanaden.com with asmtp (Exim 4.10) id 18qPUF-00058h-00 for carterdavid@example.net; Tue, 04 Mar 2003 21:22:31 -0600 Message-ID: <carterdavid@example.net> Date: Tue, 04 Mar 2003 21:22:40 -0600 From: Hanasaki JiJi <carterdavid@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030215 X-Accept-Language: en-us, en MIME-Version: 1.0 To: LIST Jakarta Taglibs-User <carterdavid@example.net> Subject: How to call a method with params ? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N JSTL easily calls the get methods of instances in the session/request. how can a settter be called? how can a method be called with parameters? ex like this? <c:out value='${requestScope.var.get(var2)}' how can this be done with the jakarta taglibs? if at all? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Wed Mar 05 14:58:56 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 33806 invoked from network); 5 Mar 2003 14:58:56 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2003 14:58:56 -0000 Received: (qmail 17407 invoked by uid 97); 5 Mar 2003 15:00:35 -0000 Delivered-To: carterdavid@example.net Received: (qmail 17400 invoked from network); 5 Mar 2003 15:00:35 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 5 Mar 2003 15:00:35 -0000 Received: (qmail 33634 invoked by uid 500); 5 Mar 2003 14:58:54 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 33622 invoked from network); 5 Mar 2003 14:58:53 -0000 Received: from prv-mail20.provo.novell.com (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2003 14:58:53 -0000 Received: from INET-PRV-MTA by prv-mail20.provo.novell.com with Novell_GroupWise; Wed, 05 Mar 2003 07:58:55 -0700 Message-Id: <carterdavid@example.net> X-Mailer: Novell GroupWise Internet Agent 6.5.0 Date: Wed, 05 Mar 2003 07:58:48 -0700 From: "George Coles" <carterdavid@example.net> To: <carterdavid@example.net> Subject: Re: How to call a method with params ? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I think you can use c:set to set a vallue on a specified var in some scope. --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Wed Mar 05 16:07:47 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 2873 invoked from network); 5 Mar 2003 16:07:46 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2003 16:07:46 -0000 Received: (qmail 20214 invoked by uid 97); 5 Mar 2003 16:09:26 -0000 Delivered-To: carterdavid@example.net Received: (qmail 20207 invoked from network); 5 Mar 2003 16:09:26 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 5 Mar 2003 16:09:26 -0000 Received: (qmail 93119 invoked by uid 500); 5 Mar 2003 16:05:31 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 93025 invoked from network); 5 Mar 2003 16:05:29 -0000 Received: from unknown (HELO Excalibur.ods.co.cr) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2003 16:05:29 -0000 Received: from Ivonne.ods.co.cr (ip254-10.ct.co.cr [83.161.120.155] (may be forged)) by Excalibur.ods.co.cr (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id h25I3fPt027465; Wed, 5 Mar 2003 10:03:41 -0800 Message-Id: <carterdavid@example.net> X-Sender: carterdavid@example.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 05 Mar 2003 10:03:33 -0600 To: "Tag Libraries Users List" <carterdavid@example.net> From: Ivonne Barrantes <carterdavid@example.net> Subject: Re: How to call a method with params ? Cc: <carterdavid@example.net> In-Reply-To: <carterdavid@example.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_8780215==_.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_8780215==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed I need to define & use a collection with the months of the year, I'm sure it will take just a few lines, but i don't get it to work. This is what i've being trying to do: <select> <c:forEach begin="1" end="12" var="month"> <fmt:formatDate value="${month}" pattern="MMMM"/><br> </c:forEach> </select> which didn't work, and also tryed this: <jsp:useBean id="month" class="java.util.Collection"/> <c:set var="month[0].name" value="January"/> <c:set var="month[1].name" value="February"/> <select> <c:forEach item="month" var="mon"> <option><c:out value="${mon}"></option> </c:forEach> </select> Thanks in advance. --=====================_8780215==_.ALT-- From taglibs-user-returncarterdavid@example.net Thu Mar 06 04:32:19 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 65069 invoked from network); 6 Mar 2003 04:32:18 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 6 Mar 2003 04:32:18 -0000 Received: (qmail 9095 invoked by uid 97); 6 Mar 2003 04:34:05 -0000 Delivered-To: carterdavid@example.net Received: (qmail 9088 invoked from network); 6 Mar 2003 04:34:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 6 Mar 2003 04:34:05 -0000 Received: (qmail 62933 invoked by uid 500); 6 Mar 2003 04:31:52 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 62885 invoked from network); 6 Mar 2003 04:31:51 -0000 Received: from harrier.mail.pas.earthlink.net (83.161.120.155) by daedalus.apache.org with SMTP; 6 Mar 2003 04:31:51 -0000 Received: from evrtwa1-ar4-4-35-107-003.evrtwa1.elnk.dsl.genuity.net ([83.161.120.155] helo=wondark.earthlink.net) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18qn2y-0007Bu-00 for carterdavid@example.net; Wed, 05 Mar 2003 20:31:56 -0800 To: carterdavid@example.net Subject: Tag libraries that use ExpressionEvaluator depend on Jakarta implementation From: carterdavid@example.net (David M. Karr) Date: 05 Mar 2003 20:32:17 -0800 Message-ID: <carterdavid@example.net> Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Native Windows TTY Support (Windows)) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is probably obvious, but it is the case that any tag libraries that use the ExpressionEvaluator class in the Jakarta JSTL implementation are actually dependent on the Jakarta implementation, as opposed to the specification, correct? Since only the JSP api is described in the specification, and not the Java api, then another JSTL implementation could use a completely different class. I'm not complaining, I just want to make sure I'm clear on that point. -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ carterdavid@example.net ; SCJP; SCWCD --------------------------------------------------------------------- To unsubscribe, e-mail: carterdavid@example.net For additional commands, e-mail: carterdavid@example.net From taglibs-user-returncarterdavid@example.net Thu Mar 06 15:33:48 2003 Return-Path: <taglibs-user-returncarterdavid@example.net> Delivered-To: carterdavid@example.net Received: (qmail 50889 invoked from network); 6 Mar 2003 15:33:47 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 6 Mar 2003 15:33:47 -0000 Received: (qmail 23304 invoked by uid 97); 6 Mar 2003 15:35:26 -0000 Delivered-To: carterdavid@example.net Received: (qmail 23297 invoked from network); 6 Mar 2003 15:35:26 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 6 Mar 2003 15:35:26 -0000 Received: (qmail 48467 invoked by uid 500); 6 Mar 2003 15:33:08 -0000 Mailing-List: contact carterdavid@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:carterdavid@example.net> List-Subscribe: <mailto:carterdavid@example.net> List-Help: <mailto:carterdavid@example.net> List-Post: <mailto:carterdavid@example.net> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <carterdavid@example.net> Delivered-To: mailing list carterdavid@example.net Received: (qmail 48389 invoked from network); 6 Mar 2003 15:33:07 -0000 Received: from www2.netsmart.gr (HELO www2) (83.161.120.155) by daedalus.apache.org with SMTP; 6 Mar 2003 15:33:07 -0000 Received: from netsmart.gr (forte.netsmart.gr [83.161.120.155]) by mail.netsmart.gr (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTPA id <carterdavid@example.net> for carterdavid@example.net; Thu, 06 Mar 2003 17:26:33 -0200 (GMT) Date: Thu, 06 Mar
{'source': 'Apache Software Foundation Public Mail Archives'}