From taglibs-user-returndavidcunningham@example.com Sat Dec 01 10:28:21 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 15002 invoked from network); 1 Dec 2001 10:28:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2001 10:28:21 -0000 Received: (qmail 9262 invoked by uid 97); 1 Dec 2001 10:28:30 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 9208 invoked by uid 97); 1 Dec 2001 10:28:28 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 9190 invoked from network); 1 Dec 2001 10:28:28 -0000 Message-ID: <davidcunningham@example.com> From: "James Strachan" <davidcunningham@example.com> To: "Tag Libraries Users List" <davidcunningham@example.com> References: <davidcunningham@example.com> Subject: Re: unable to use string taglib Date: Sat, 1 Dec 2001 10:25:51 -0000 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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its something wierd on Glenn's nightly build http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html James ----- Original Message ----- From: <davidcunningham@example.com> To: "Tag Libraries Users List" <davidcunningham@example.com> Sent: Saturday, December 01, 2001 12:48 AM Subject: Re: unable to use string taglib Thanks for the report Maciej, It's the second time someone's reported this, so although the taglib builds fine for me from CVS, something must be going wrong in the nightly build. I'll grab a nightly build and compare the files to the output of CVS to see if I can figure out what's wrong. I'll get back with you over the weekend, Bay On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote: > Hi, > > Well, I think I found main cause for that error. Why there are no > <tagclass> tags in tags definition in string.tld? There's no clue > where class files for that library are. > I'm writing about 20011128-20011130 nighty builds. > > -- > Best regards, > Maciej > > > -- > To unsubscribe, e-mail: <mailto:davidcunningham@example.com> > For additional commands, e-mail: <mailto:davidcunningham@example.com> > > -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Sat Dec 01 11:11:13 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 23343 invoked from network); 1 Dec 2001 11:11:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2001 11:11:12 -0000 Received: (qmail 19155 invoked by uid 97); 1 Dec 2001 11:11:20 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 19128 invoked by uid 97); 1 Dec 2001 11:11:19 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 19117 invoked from network); 1 Dec 2001 11:11:19 -0000 Date: Sat, 1 Dec 2001 06:09:10 -0600 (CST) From: <davidcunningham@example.com> X-X-Sender: <davidcunningham@example.com> To: Tag Libraries Users List <davidcunningham@example.com> Subject: Re: unable to use string taglib In-Reply-To: <davidcunningham@example.com> Message-ID: <{{EMAIL+PHONE}}> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The nightly build is definitely shagged. No <tagclass>'s. Have to see what jumps davidcunningham@example.com... On Sat, 1 Dec 2001, James Strachan wrote: > The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe it= s > something wierd on Glenn's nightly build > > http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html > > James > ----- Original Message ----- > From: <davidcunningham@example.com> > To: "Tag Libraries Users List" <davidcunningham@example.com> > Sent: Saturday, December 01, 2001 12:48 AM > Subject: Re: unable to use string taglib > > > Thanks for the report Maciej, > > It's the second time someone's reported this, so although the taglib > builds fine for me from CVS, something must be going wrong in the nightly > build. I'll grab a nightly build and compare the files to the output of > CVS to see if I can figure out what's wrong. > > I'll get back with you over the weekend, > > Bay > > > On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko=B3odziej wrote: > > > Hi, > > > > Well, I think I found main cause for that error. Why there are n= o > > <tagclass> tags in tags definition in string.tld? There's no clue > > where class files for that library are. > > I'm writing about 20011128-20011130 nighty builds. > > > > -- > > Best regards, > > Maciej > > > > > > -- > > To unsubscribe, e-mail: > <mailto:davidcunningham@example.com> > > For additional commands, e-mail: > <mailto:davidcunningham@example.com> > > > > > > > -- > To unsubscribe, e-mail: > <mailto:davidcunningham@example.com> > For additional commands, e-mail: > <mailto:davidcunningham@example.com> > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > -- > To unsubscribe, e-mail: <mailto:davidcunningham@example.com= =2Eorg> > For additional commands, e-mail: <mailto:davidcunningham@example.com= =2Eorg> > > -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Mon Dec 03 03:38:35 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 11400 invoked from network); 3 Dec 2001 03:38:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2001 03:38:35 -0000 Received: (qmail 10366 invoked by uid 97); 3 Dec 2001 03:37:58 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 9891 invoked by uid 97); 3 Dec 2001 03:37:53 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 9811 invoked from network); 3 Dec 2001 03:37:51 -0000 Sender: davidcunningham@example.com Message-ID: <davidcunningham@example.com> Date: Sun, 02 Dec 2001 15:10:25 -0600 From: Glenn Nielsen <davidcunningham@example.com> X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Tag Libraries Users List <davidcunningham@example.com>, davidcunningham@example.com Subject: Re: unable to use string taglib References: <{{EMAIL+PHONE}}> Content-Type: text/plain; charset=iso-8859-1 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 The taglib build system uses an XML data file to define the taglib in taglib/xml/taglib.xml, for the string taglib this is string/xml/string.xml. This is the source XML used for building documentation, tlds, etc. The XSL stylesheet which generates the .tld file from the string/xml/string.xml file expects the tag to define the tag class using the JSP 1.2 form of that element, <tag-class/>. The string taglib was using the JSP 1.1 element name <tagclass/>, so the XSL stylesheet in the build wasn't generating any <tagclass/> elements in the tld file. I have maded the change and committed it to CVS. Regards, Glenn davidcunningham@example.com wrote: > > The nightly build is definitely shagged. No <tagclass>'s. > > Have to see what jumps davidcunningham@example.com... > > On Sat, 1 Dec 2001, James Strachan wrote: > > > The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its > > something wierd on Glenn's nightly build > > > > http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html > > > > James > > ----- Original Message ----- > > From: <davidcunningham@example.com> > > To: "Tag Libraries Users List" <davidcunningham@example.com> > > Sent: Saturday, December 01, 2001 12:48 AM > > Subject: Re: unable to use string taglib > > > > > > Thanks for the report Maciej, > > > > It's the second time someone's reported this, so although the taglib > > builds fine for me from CVS, something must be going wrong in the nightly > > build. I'll grab a nightly build and compare the files to the output of > > CVS to see if I can figure out what's wrong. > > > > I'll get back with you over the weekend, > > > > Bay > > > > > > On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote: > > > > > Hi, > > > > > > Well, I think I found main cause for that error. Why there are no > > > <tagclass> tags in tags definition in string.tld? There's no clue > > > where class files for that library are. > > > I'm writing about 20011128-20011130 nighty builds. > > > > > > -- > > > Best regards, > > > Maciej > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:davidcunningham@example.com> > > > For additional commands, e-mail: > > <mailto:davidcunningham@example.com> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:davidcunningham@example.com> > > For additional commands, e-mail: > > <mailto:davidcunningham@example.com> > > > > > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > -- > > To unsubscribe, e-mail: <mailto:davidcunningham@example.com> > > For additional commands, e-mail: <mailto:davidcunningham@example.com> > > > > > > -- > To unsubscribe, e-mail: <mailto:davidcunningham@example.com> > For additional commands, e-mail: <mailto:davidcunningham@example.com> -- ---------------------------------------------------------------------- Glenn Nielsen davidcunningham@example.com | /* Spelin donut madder | MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network | */ | ---------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Mon Dec 03 03:38:40 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 11437 invoked from network); 3 Dec 2001 03:38:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2001 03:38:40 -0000 Received: (qmail 10614 invoked by uid 97); 3 Dec 2001 03:38:02 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 10242 invoked by uid 97); 3 Dec 2001 03:37:57 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 9888 invoked from network); 3 Dec 2001 03:37:53 -0000 Sender: davidcunningham@example.com Message-ID: <davidcunningham@example.com> Date: Sun, 02 Dec 2001 14:43:07 -0600 From: Glenn Nielsen <davidcunningham@example.com> X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Tag Libraries Users List <davidcunningham@example.com> Subject: Re: unable to use string taglib References: <{{EMAIL+PHONE}}> Content-Type: text/plain; charset=iso-8859-1 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'll look into the nightly build, it may have something to do with my environment, i.e. xerces, xalan, ant, etc. Also, Rich's recent commits to the mailer taglib broke the nightly build. And my DSL at home was down from late friday afternoon until just an hour ago, so I have been offline. (ISP was doing a major server upgrade/move). davidcunningham@example.com wrote: > > The nightly build is definitely shagged. No <tagclass>'s. > > Have to see what jumps davidcunningham@example.com... > > On Sat, 1 Dec 2001, James Strachan wrote: > > > The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its > > something wierd on Glenn's nightly build > > > > http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html > > > > James > > ----- Original Message ----- > > From: <davidcunningham@example.com> > > To: "Tag Libraries Users List" <davidcunningham@example.com> > > Sent: Saturday, December 01, 2001 12:48 AM > > Subject: Re: unable to use string taglib > > > > > > Thanks for the report Maciej, > > > > It's the second time someone's reported this, so although the taglib > > builds fine for me from CVS, something must be going wrong in the nightly > > build. I'll grab a nightly build and compare the files to the output of > > CVS to see if I can figure out what's wrong. > > > > I'll get back with you over the weekend, > > > > Bay > > > > > > On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote: > > > > > Hi, > > > > > > Well, I think I found main cause for that error. Why there are no > > > <tagclass> tags in tags definition in string.tld? There's no clue > > > where class files for that library are. > > > I'm writing about 20011128-20011130 nighty builds. > > > > > > -- > > > Best regards, > > > Maciej > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:davidcunningham@example.com> > > > For additional commands, e-mail: > > <mailto:davidcunningham@example.com> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:davidcunningham@example.com> > > For additional commands, e-mail: > > <mailto:davidcunningham@example.com> > > > > > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > -- > > To unsubscribe, e-mail: <mailto:davidcunningham@example.com> > > For additional commands, e-mail: <mailto:davidcunningham@example.com> > > > > > > -- > To unsubscribe, e-mail: <mailto:davidcunningham@example.com> > For additional commands, e-mail: <mailto:davidcunningham@example.com> -- ---------------------------------------------------------------------- Glenn Nielsen davidcunningham@example.com | /* Spelin donut madder | MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network | */ | ---------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Tue Dec 04 10:21:27 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 10509 invoked from network); 4 Dec 2001 10:21:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Dec 2001 10:21:27 -0000 Received: (qmail 4611 invoked by uid 97); 4 Dec 2001 10:21:33 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 4570 invoked by uid 97); 4 Dec 2001 10:21:31 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 4554 invoked from network); 4 Dec 2001 10:21:31 -0000 Message-ID: <CD76D57533C8D311A22300508B62C68701289459@SESTOMSX01> From: Wim Bervoets <davidcunningham@example.com> To: "'davidcunningham@example.com'" <davidcunningham@example.com> Subject: nullpointer exceptions when using DBTAGS ! Date: Tue, 4 Dec 2001 11:24:26 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, Can someone please tell me why the following doesn't work: <sql:connection id="conn1"> <sql:url initParameter="dbURL"/> <sql:driver initParameter="mysqlDriver"/> <sql:userId initParameter="dbUserId"/> <sql:password initParameter="dbPassword"/> </sql:connection> <sql:statement id="stmt1" conn="conn1"> <sql:query> select wanted_text from wanted_bios ORDER BY wanted_text </sql:query> <ul> <sql:resultSet id="rset2"> <li><sql:getColumn colName="wanted_text"/> </sql:resultSet> </ul> </sql:statement> <sql:closeConnection conn="conn1"/> The error I get: [2001/12/04 11:07:26] null davidcunningham@example.com(BaseGetter Tag.java:239) at org.apache.taglibs.dbtags.resultset.BaseGetterTag.getPosition(BaseGetterTag. java:111) at org.apache.taglibs.dbtags.resultset.GetColumnTag.doStartTag(GetColumnTag.jav a:116) at _wanted__jsp._jspService(_wanted__jsp.java:211) at com.caucho.jsp.JavaPage.service(JavaPage.java:74) at com.caucho.jsp.Page.subservice(Page.java:485) at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:176) at com.strangegizmo.filter.GzipFilter.doFilter(GzipFilter.java:117) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:87) at com.caucho.server.http.Invocation.service(Invocation.java:278) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129) at com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:847) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158) at com.caucho.server.TcpConnection.run(TcpConnection.java:140) at java.lang.Thread.run(Thread.java:484) It is clear that <sql:getColumn colName="wanted_text"/> is the thing that gives me the null pointer exception. When there is only one element returned from the database this doesn't happen, only when two or more elements are returned. Also <sql:getColumn position="1"/> gives me the same error. I've been looking into the code and it happens because _name is null the second time: In BaseGetterTag.java: public int getPosition() throws JspTagException{ // if the column was set according to its name, // figure out its position System.out.println("position:" + _position); if (_position == -1) { _position = getColumnNumber(_name); } System.out.println("position after if:" + _position); return _position; } the second time the code gets executed (second result from the db) _position = -1 (I don't know why, when I do getColumn position = 1 I'm not using the column name at all So we pass _name (a null value) to that function and in that function we do : strName.equalsIgnoreCase (meta.getColumnName (i)) (strName == null !!!!) Can someone from the developers tell me why _name doesn't get properly set the second time ? Or why the _position doesn't get properly set ? (should be 1, and not -1 logically?) I'm using Resin 2.0.4 (downloadable at http://www.caucho.com), but Resin 2.0.2 gives the same errors. Please help me out :-))) Wim -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Tue Dec 04 14:36:22 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 52049 invoked from network); 4 Dec 2001 14:36:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Dec 2001 14:36:22 -0000 Received: (qmail 29762 invoked by uid 97); 4 Dec 2001 14:36:19 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 29741 invoked by uid 97); 4 Dec 2001 14:36:18 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 29730 invoked from network); 4 Dec 2001 14:36:17 -0000 Message-id: <davidcunningham@example.com> Date: 04 Dec 2001 09:36:09 EST From: davidcunningham@example.com (Brett B. Tofel) Subject: Re: nullpointer exceptions when using DBTAGS ! To: davidcunningham@example.com MIME-Version: 1.0 Content-Type: text/plain 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 --- You wrote: <sql:resultSet id="rset2"> <li><sql:getColumn colName="wanted_text"/> </sql:resultSet> --- end of quote --- Did you try that with something like: <sql:getColumn postion="1"/> also, just to see if you could get anything back in the resultSet? from the nullpointer error it seems like the resultset might be empty. -brett tofel -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Tue Dec 04 14:43:51 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 56463 invoked from network); 4 Dec 2001 14:43:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Dec 2001 14:43:51 -0000 Received: (qmail 3965 invoked by uid 97); 4 Dec 2001 14:43:48 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 3948 invoked by uid 97); 4 Dec 2001 14:43:47 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 3917 invoked from network); 4 Dec 2001 14:43:47 -0000 Message-ID: <CD76D57533C8D311A22300508B62C6870128945A@SESTOMSX01> From: Wim Bervoets <davidcunningham@example.com> To: 'Tag Libraries Users List' <davidcunningham@example.com> Subject: RE: nullpointer exceptions when using DBTAGS ! Date: Tue, 4 Dec 2001 15:46:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes, that makes no difference,using <sql:getColumn postion="1"/> or <sql:getColumn colName="wanted_text"/> Maybe it's a bug in Resin 2.0.x ? The thing works correctly in Tomcat 3.2.3 on my localhost. The strangest thing is that when there is exactly one row in the db, it works. In most cases (not with more complex sql queries) I can fix the nullpointer error by modifying the following: in BaseGetterTag.java you have the variable _name. The first time this _name is the column name I'm requesting results from. (eg. wanted_text) (in the sql query) For the second element in the results of the sql query ... _name has become null. Removing _name = null in the release() method fixes this error. (but maybe will introduce other errors) I've not yet found why and where this _name variable is set and why it is set the first time and not set the second time. Wim > -----Original Message----- > From: davidcunningham@example.com [mailto:davidcunningham@example.com] > Sent: dinsdag 4 december 2001 15:36 > To: davidcunningham@example.com > Subject: Re: nullpointer exceptions when using DBTAGS ! > > > --- You wrote: > <sql:resultSet id="rset2"> > <li><sql:getColumn colName="wanted_text"/> > > </sql:resultSet> > --- end of quote --- > Did you try that with something like: > > <sql:getColumn postion="1"/> > > also, just to see if you could get anything back in the resultSet? > > from the nullpointer error it seems like the resultset might be empty. > > -brett tofel > > -- > To unsubscribe, e-mail: > <mailto:davidcunningham@example.com> > For additional commands, e-mail: > <mailto:davidcunningham@example.com> > -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Tue Dec 04 16:05:45 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 33201 invoked from network); 4 Dec 2001 16:05:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Dec 2001 16:05:45 -0000 Received: (qmail 26862 invoked by uid 97); 4 Dec 2001 16:05:34 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 26609 invoked by uid 97); 4 Dec 2001 16:05:28 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 26540 invoked from network); 4 Dec 2001 16:05:28 -0000 Date: Tue, 4 Dec 2001 11:03:11 -0600 (CST) From: <davidcunningham@example.com> X-X-Sender: <davidcunningham@example.com> To: Tag Libraries Users List <davidcunningham@example.com>, =?ISO-8859-1?B?TWFjaWVqIEtvs29kemllag==?= <davidcunningham@example.com> Subject: Re: unable to use string taglib In-Reply-To: <davidcunningham@example.com> Message-ID: <davidcunningham@example.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE 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 Maciej, I just grabbed the latest nightly build and the <tagclass>'s are appearing again. Sorry for the delay and stupidity on my part. I hope you find the string taglib useful, Bay On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko=B3odziej wrote: > Hi, > > I'm unable to use string taglib in my application. I use dbtags, > struts-* taglibs and everything's fine, but not with string. > I think I've set everything correctly. > That's what I have: > > <taglib> > <taglib-uri>/WEB-INF/string.tld</taglib-uri> > <taglib-location>/WEB-INF/lib/string.jar</taglib-location> > </taglib> > > in web.xml > > <%@ taglib uri=3D"/WEB-INF/string.tld" prefix=3D"str" %> > > in my .jsp file. > There's string.jar in WEB-INF/lib (next to all other working ones) and > string.tld in WEB-INF (also next to others). But when I try to compile > the .jsp I get following error: > > comments.jsp [62:30] Unable to load class null > Errors compiling comments. > > This is where following test part of code is: > > <str:delete set=3D"dsb">ajdfdkdsbdkfjdsb</str:delete> > > I use Forte for Java 3.0 Enterprise (Trial) and newest nighty build of > string taglib. > > > -- > Best regards, > Maciej > > > -- > To unsubscribe, e-mail: <mailto:davidcunningham@example.com= =2Eorg> > For additional commands, e-mail: <mailto:davidcunningham@example.com= =2Eorg> > > -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 03:13:40 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 26625 invoked from network); 5 Dec 2001 03:13:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 03:13:40 -0000 Received: (qmail 4604 invoked by uid 97); 5 Dec 2001 03:13:44 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 4578 invoked by uid 97); 5 Dec 2001 03:13:43 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 4567 invoked from network); 5 Dec 2001 03:13:42 -0000 Message-ID: <003301c17d3b$52c577e0$0a00000a@ordinateur> From: <davidcunningham@example.com> To: <davidcunningham@example.com> Subject: dbtags Date: Wed, 5 Dec 2001 04:17:08 +0100 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.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 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 can't figure out how to use the "fetchSize" and "maxRows" properties of the statement tag. Can anyone help? Thanks in advance, Julien. -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 07:41:54 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 8782 invoked from network); 5 Dec 2001 07:41:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 07:41:53 -0000 Received: (qmail 13121 invoked by uid 97); 5 Dec 2001 07:41:59 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 13094 invoked by uid 97); 5 Dec 2001 07:41:57 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 13083 invoked from network); 5 Dec 2001 07:41:57 -0000 Date: Wed, 5 Dec 2001 08:41:48 +0100 Message-Id: <davidcunningham@example.com> Subject: =?iso-8859-1?Q?xsl_taglibs_problem_with_anchor_element?= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 From: "=?davidcunningham@example.com?=" <davidcunningham@example.com> To: davidcunningham@example.com X-XaM3-API-Version: 2.5 X-type:0 X-SenderIP: 83.161.120.155 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N SGksDQoNCiAgICAgICAgIGlzIHRoZXJlIGFueW9uZSB3aG8gaGFzIHRlc3RlZCB0aGUgeHNs IHRhZyBsaWJyYXJ5IG9mIHRoZQ0KSmFrYXJ0YSANCiAgICAgICAgIHByb2plY3Q/DQoNCiAg ICAgICAgIEhlcmUgaXMgbXkgcHJvYmxlbS4NCg0KICAgICAgICAgSW4gbXkgeHNsIGZpbGUg SSBoYXZlIGFuIGFuY2hvciBlbGVtZW50IHRoYXQgcmVmZXJlcyB0byBhIGpzcA0Kd2l0aCAy IA0KICAgICAgICAgcGFyYW1ldGVyczoNCg0KICAgICAgICAgPGEgaHJlZj0ibXlqc3AuanNw P3BhcmFtMT0xJnBhcmFtMj0yIj5teWxpbms8L2E+DQoNCiAgICAgICAgIFdoZW4gSSBydW4g dGhlIGpzcCB3aGljaCBoYXMgdGhpcyBhbmNob3IgZWxlbWVudCBpbiB0aGUgeHNsDQpmaWxl IHVzZWQgDQogICAgICAgICBhcyB4c2wgYXR0cmlidXRlIG9mIHRoZSB0YWcgbGlicmFyeSBh biBleGNlcHRpb24gb2NjdXJzIHdpdGgNCnRoaXMgDQogICAgICAgICBtZXNzYWdlOiB0aGUg ZW50aXR5IHBhcmFtMiBtdXN0IGVuZCB3aXRoIHRoZSAiOyIgZGVsaW1pdGF0b3IuDQoNCiAg ICAgICAgIEkgdHJpZWQgdG8gcHV0IHRoZSAiOyIgYXQgdGhlIGVuZCBsaWtlIHRoaXM6DQoN CiAgICAgICAgIDxhIGhyZWY9Im15anNwLmpzcD9wYXJhbTE9MSZwYXJhbTI9MjsiPm15bGlu azwvYT4NCg0KICAgICAgICAgYnV0IHRoZSBzYW1lIGV4Y2VwdGlvbiBvY2N1cmVkLg0KDQog ICAgICAgICBUaGUgc2FtZSBhbmNob3IgZWxlbWVudCBpbiBhIG5vcm1hbCBIVE1MIHBhZ2Ug cGVyZmVjdGx5IHdvcmtzLg0KDQogICAgICAgICBJIHRyaWVkIHRoZSBhbmNob3IgZWxlbWVu dCB3aXRoIG9ubHkgb25lIHBhcmFtZXRlciBpbiB0aGUgeHNsDQp0YWcgDQogICAgICAgICBs aWJyYXJ5IGFuZCBpdCB3b3JrcyENCg0KICAgICAgICAgSXQgc2VlbXMgaXQgaXMgYSBwcm9i bGVtIG9ubHkgd2l0aCBtb3JlIHRoYW4gb25lIHBhcmFtZXRlci4NCg0KICAgICAgICAgQW55 IGlkZWE/DQoNCiAgICAgICAgIFRoYW5rcyBpbiBhZHZhbmNl From taglibs-user-returndavidcunningham@example.com Wed Dec 05 09:11:48 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 41359 invoked from network); 5 Dec 2001 09:11:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 09:11:48 -0000 Received: (qmail 11992 invoked by uid 97); 5 Dec 2001 09:11:56 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 11976 invoked by uid 97); 5 Dec 2001 09:11:55 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 11965 invoked from network); 5 Dec 2001 09:11:55 -0000 Message-ID: <davidcunningham@example.com> From: "James Strachan" <davidcunningham@example.com> To: "Tag Libraries Users List" <davidcunningham@example.com> References: <davidcunningham@example.com> Subject: Re: xsl taglibs problem with anchor element Date: Wed, 5 Dec 2001 09:09:09 -0000 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.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You must escape & when working with XML. Try <a href="myjsp.jsp?param1=1&amp;param2=2">mylink</a> James ----- Original Message ----- From: <davidcunningham@example.com> To: <davidcunningham@example.com> Sent: Wednesday, December 05, 2001 7:41 AM Subject: xsl taglibs problem with anchor element > Hi, > > is there anyone who has tested the xsl tag library of the > Jakarta > project? > > Here is my problem. > > In my xsl file I have an anchor element that referes to a jsp > with 2 > parameters: > > <a href="myjsp.jsp?param1=1&param2=2">mylink</a> > > When I run the jsp which has this anchor element in the xsl > file used > as xsl attribute of the tag library an exception occurs with > this > message: the entity param2 must end with the ";" delimitator. > > I tried to put the ";" at the end like this: > > <a href="myjsp.jsp?param1=1&param2=2;">mylink</a> > > but the same exception occured. > > The same anchor element in a normal HTML page perfectly works. > > I tried the anchor element with only one parameter in the xsl > tag > library and it works! > > It seems it is a problem only with more than one parameter. > > Any idea? > > Thanks in advance _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 09:13:17 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 41906 invoked from network); 5 Dec 2001 09:13:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 09:13:17 -0000 Received: (qmail 13216 invoked by uid 97); 5 Dec 2001 09:13:24 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 13200 invoked by uid 97); 5 Dec 2001 09:13:24 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 13189 invoked from network); 5 Dec 2001 09:13:23 -0000 X-Authentication-Warning: mailserver.medvantis.de: Host [83.161.120.155] claimed to be domino.medvantis.de To: "Tag Libraries Users List" <davidcunningham@example.com> Subject: Antwort: xsl taglibs problem with anchor element X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: <davidcunningham@example.com> From: davidcunningham@example.com Date: Wed, 5 Dec 2001 10:13:27 +0100 X-MIMETrack: Serialize by Router on DEWIN001/MEDVANTIS(Release 5.0.5 |September 22, 2000) at 05.12.2001 10:13:28, Serialize davidcunningham@example.com 10:13:28 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_alternative 003248BDC1256B19_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=_alternative 003248BDC1256B19_= Content-Type: text/plain; charset="us-ascii" Hi, try to replace the & with &amp; in the link -> <a href="myjsp.jsp?param1=1&amp;param2=2">mylink</a> Regards -- Tobias "davidcunningham@example.com" <andcerve 05.12.2001 08:41 Bitte antworten an "Tag Libraries Users List" An: davidcunningham@example.com Kopie: Thema: xsl taglibs problem with anchor element Hi, is there anyone who has tested the xsl tag library of the Jakarta project? Here is my problem. In my xsl file I have an anchor element that referes to a jsp with 2 parameters: <a href="myjsp.jsp?param1=1&param2=2">mylink</a> When I run the jsp which has this anchor element in the xsl file used as xsl attribute of the tag library an exception occurs with this message: the entity param2 must end with the ";" delimitator. I tried to put the ";" at the end like this: <a href="myjsp.jsp?param1=1&param2=2;">mylink</a> but the same exception occured. The same anchor element in a normal HTML page perfectly works. I tried the anchor element with only one parameter in the xsl tag library and it works! It seems it is a problem only with more than one parameter. Any idea? Thanks in advance --=_alternative 003248BDC1256B19_=-- From taglibs-user-returndavidcunningham@example.com Wed Dec 05 14:02:25 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 73143 invoked from network); 5 Dec 2001 14:02:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 14:02:25 -0000 Received: (qmail 14242 invoked by uid 97); 5 Dec 2001 14:02:16 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 14197 invoked by uid 97); 5 Dec 2001 14:02:15 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 14186 invoked from network); 5 Dec 2001 14:02:14 -0000 Message-ID: <davidcunningham@example.com> From: "Mader, Steve" <davidcunningham@example.com> To: "'Tag Libraries Users List'" <davidcunningham@example.com> Subject: RE: dbtags Date: Wed, 5 Dec 2001 09:02:07 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.51) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The following code works for me: <sql:statement id="trans_list" conn="my_conn"> <% // Set max rows to retrieve. trans_list.setMaxRows( 100 ); %> The fetch size parameter should work the same way. Steve -----Original Message----- From: davidcunningham@example.com [mailto:davidcunningham@example.com] Sent: Tuesday, December 04, 2001 10:17 PM To: davidcunningham@example.com Subject: dbtags I can't figure out how to use the "fetchSize" and "maxRows" properties of the statement tag. Can anyone help? Thanks in advance, Julien. -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 16:00:25 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 70513 invoked from network); 5 Dec 2001 16:00:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 16:00:25 -0000 Received: (qmail 8062 invoked by uid 97); 5 Dec 2001 15:59:02 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 7981 invoked by uid 97); 5 Dec 2001 15:59:00 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 7901 invoked from network); 5 Dec 2001 15:58:59 -0000 Message-Id: <davidcunningham@example.com> X-Sender: davidcunningham@example.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 05 Dec 2001 11:04:26 -0500 To: davidcunningham@example.com From: Joachim Martin <davidcunningham@example.com> Subject: Mailer: server attribute not used? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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, After a couple frustrating hours, I finally got the mailer taglib to use a specified smtp server by setting CATALINA_OPTS to -Dmail.smtp.host=smtp.hbs.edu. I tried using the server="smtp.hbs.edu" attribute, but it didn't work. I tried hardcoding my smtp server in MailTag.java and then in SentTag.java, but that didn't work. (I actually don't see where the server attribute is ever being used). I then tried numerous combinations of <param> type configs in various xml files, to no avail (I admit to being a tomcat novice). Setting an environment variable on the command line is ok, but I'm wondering why the server attribute isn't working for me. After doing some debugging, it looks like 1) the server attribute is never used to set up the "mail.smtp.host" property for the Session object, and 2) the sessionobj (in MailTag) that is passed to new MimeMessage() is null. Am I crazy? Is this working for everyone else? Or am I the only one not using a local SMTP server? I'm guessing that the JavaMail API is involved here. This is on Solaris 5.6, JDK 1.3.1, Tomcat 4.0-B1. Does anyone know of a way to put this system property in a server.xml or web.xml file so I don't have to modify the environment or the startup script? Thanks --Joachim -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 20:16:46 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 81121 invoked from network); 5 Dec 2001 20:16:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 20:16:46 -0000 Received: (qmail 19442 invoked by uid 97); 5 Dec 2001 20:16:45 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 19426 invoked by uid 97); 5 Dec 2001 20:16:43 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 19415 invoked from network); 5 Dec 2001 20:16:43 -0000 Reply-To: <davidcunningham@example.com> From: "bo" <davidcunningham@example.com> To: "taglib-user" <davidcunningham@example.com> Subject: How to determing the relationship between tags Date: Wed, 5 Dec 2001 15:11:17 -0500 Message-ID: <davidcunningham@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal 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 all, I wonder if I can determine the relationship among tags, such as tag A should be within tag B etc. Is that possible? Thanks! Bo -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 20:20:48 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 83228 invoked from network); 5 Dec 2001 20:20:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 20:20:48 -0000 Received: (qmail 26651 invoked by uid 97); 5 Dec 2001 20:20:48 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 26635 invoked by uid 97); 5 Dec 2001 20:20:47 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 26624 invoked from network); 5 Dec 2001 20:20:47 -0000 Date: Wed, 5 Dec 2001 15:20:09 -0500 (EST) From: Shawn Bayern <davidcunningham@example.com> X-Sender: bayern@precision To: Tag Libraries Users List <davidcunningham@example.com>, davidcunningham@example.com Subject: Re: How to determing the relationship between tags In-Reply-To: <davidcunningham@example.com> Message-ID: <Pine.LNX.4.21.0112051518410.16452-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 Wed, 5 Dec 2001, bo wrote: > I wonder if I can determine the relationship among tags, such as tag A > should be within tag B etc. Is that possible? Thanks! You can use a TagLibraryValidator class to enforce arbitrary characteristics of the XML view of a JSP page, including specific relationships among tags. For an example of a SAX-based approach to validation, see the JstlCoreTLV class in the "Standard" taglib. Tags can also, at runtime, gain access to their parent tag handlers. The most convenient mechanism for doing this is, in most cases, the static TagSupport.findAncestorWithClass() method, part of the JSP API. Hope that helps, Shawn -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 20:27:28 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 86291 invoked from network); 5 Dec 2001 20:27:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 20:27:28 -0000 Received: (qmail 4351 invoked by uid 97); 5 Dec 2001 20:27:27 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 4335 invoked by uid 97); 5 Dec 2001 20:27:27 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 4324 invoked from network); 5 Dec 2001 20:27:26 -0000 Content-return: allowed Date: Wed, 05 Dec 2001 21:26:10 +0100 From: "Lacerda, Wellington (AFIS)" <davidcunningham@example.com> Subject: RE: How to determing the relationship between tags To: 'Tag Libraries Users List' <davidcunningham@example.com> Message-id: <davidcunningham@example.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset=ISO-8859-1 Importance: high X-Priority: 1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes. The Parent tag can be (recursively) scanned with getParent() and verified with instanceof. The TagSupport tag provides for that also with findAncestorWithClass method. Wellington L.S. da Silva UN/FAO -----Original Message----- From: bo [mailto:davidcunningham@example.com] Sent: Wednesday, December 05, 2001 9:11 PM To: taglib-user Subject: How to determing the relationship between tags Hi all, I wonder if I can determine the relationship among tags, such as tag A should be within tag B etc. Is that possible? Thanks! Bo -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 20:49:32 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 1342 invoked from network); 5 Dec 2001 20:49:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 20:49:32 -0000 Received: (qmail 4382 invoked by uid 97); 5 Dec 2001 20:49:31 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 4360 invoked by uid 97); 5 Dec 2001 20:49:30 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 4347 invoked from network); 5 Dec 2001 20:49:29 -0000 X-Originating-IP: [83.161.120.155] From: "Bill Moss" <davidcunningham@example.com> To: davidcunningham@example.com Bcc: Subject: DBTags write resultsets into javascript, caching Date: Wed, 05 Dec 2001 15:49:28 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <davidcunningham@example.com> X-OriginalArrivalTime: 05 Dec 2001 20:49:28.0821 (UTC) FILETIME=[55238250:01C17DCE] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Off topic but I'm hoping someone has experience with these two questions: 1) What's the best way to have one select box influence another select box's choices? I'm thinking JavaScript. My scenario is, one select box has a list of places, based on place selected, sub-places should show in other box. If I chose kitchen, other select box might show, sink, cupboard, etc. but not bed - which would show along with dresser if I chose bedroom. In my DB there is a relation between place and sub-place. Has anyone written dbtags resultsets into JavasSript arrays or functions? Is there an easier way? 2) Is there any caching of dbtags queries? Would this be handled using a pool? Can dbtags use a pool? I have a form that makes significant/expensive queries and would rather it be cached resultsets. Thanks, Bill Moss _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 21:25:37 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 23284 invoked from network); 5 Dec 2001 21:25:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 21:25:37 -0000 Received: (qmail 2810 invoked by uid 97); 5 Dec 2001 21:25:34 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 2794 invoked by uid 97); 5 Dec 2001 21:25:33 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 2783 invoked from network); 5 Dec 2001 21:25:33 -0000 Reply-To: <davidcunningham@example.com> From: "bo" <davidcunningham@example.com> To: "Tag Libraries Users List" <davidcunningham@example.com> Subject: RE: How to determing the relationship between tags Date: Wed, 5 Dec 2001 16:20:07 -0500 Message-ID: <davidcunningham@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <Pine.LNX.4.21.0112051518410.16452-100000@precision> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks a lot! Bo -----Original Message----- From: Shawn Bayern [mailto:davidcunningham@example.com] Sent: Wednesday, December 05, 2001 3:20 PM To: Tag Libraries Users List; davidcunningham@example.com Subject: Re: How to determing the relationship between tags On Wed, 5 Dec 2001, bo wrote: > I wonder if I can determine the relationship among tags, such as tag A > should be within tag B etc. Is that possible? Thanks! You can use a TagLibraryValidator class to enforce arbitrary characteristics of the XML view of a JSP page, including specific relationships among tags. For an example of a SAX-based approach to validation, see the JstlCoreTLV class in the "Standard" taglib. Tags can also, at runtime, gain access to their parent tag handlers. The most convenient mechanism for doing this is, in most cases, the static TagSupport.findAncestorWithClass() method, part of the JSP API. Hope that helps, Shawn -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 21:56:26 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 39901 invoked from network); 5 Dec 2001 21:56:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 21:56:26 -0000 Received: (qmail 3088 invoked by uid 97); 5 Dec 2001 21:56:26 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 3072 invoked by uid 97); 5 Dec 2001 21:56:25 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 3060 invoked from network); 5 Dec 2001 21:56:25 -0000 Message-ID: <davidcunningham@example.com> From: "Martin Cooper" <davidcunningham@example.com> To: "Tag Libraries Users List" <davidcunningham@example.com> References: <Pine.LNX.4.21.0112051518410.16452-100000@precision> Subject: Re: How to determing the relationship between tags Date: Wed, 5 Dec 2001 13:56:57 -0800 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 (480)894-8247 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N One thing to be aware of with findAncestorWithClass() is that it works only within the JSP page. This is not surprising in itself. However, if you want to be able to have the nested tag in an included page, you can't use this mechanism to find the parent. That is, with this code in the page: <mytags:tag1 ... > <mytags:tag2 ... /> </mytags:tag1> tag2 can find tag1 using findAncestorWithClass() just fine. However, with this: <mytags:tag1 ... > <jsp:include page="pageContainingTag2.jsp" /> </mytags:tag1> tag2 will be unable to find tag1 using findAncestorWithClass(). It may not always be necessary to be able to do this, but I point it out because we had this issue with the Struts HTML tags. The various <html:*> tags need to refer to their containing <html:form> tag. However, if the form gets very large, and the page breaks the limit on the size of a compiled method, you are forced to split the form across pages. To make this work in Struts, the doStartTag() method in <html:form> stores a reference to itself as a request attribute, the nested tags use that, and then doEndTag() cleans it up. -- Martin Cooper ----- Original Message ----- From: Shawn Bayern <davidcunningham@example.com> To: Tag Libraries Users List <davidcunningham@example.com>; <davidcunningham@example.com> Sent: Wednesday, December 05, 2001 12:20 PM Subject: Re: How to determing the relationship between tags > On Wed, 5 Dec 2001, bo wrote: > > > I wonder if I can determine the relationship among tags, such as tag A > > should be within tag B etc. Is that possible? Thanks! > > You can use a TagLibraryValidator class to enforce arbitrary > characteristics of the XML view of a JSP page, including specific > relationships among tags. For an example of a SAX-based approach to > validation, see the JstlCoreTLV class in the "Standard" taglib. > > Tags can also, at runtime, gain access to their parent tag handlers. The > most convenient mechanism for doing this is, in most cases, the static > TagSupport.findAncestorWithClass() method, part of the JSP API. > > Hope that helps, > > Shawn > > > -- > To unsubscribe, e-mail: <mailto:davidcunningham@example.com> > For additional commands, e-mail: <mailto:davidcunningham@example.com> > -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 22:07:10 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 48409 invoked from network); 5 Dec 2001 22:07:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 22:07:09 -0000 Received: (qmail 13944 invoked by uid 97); 5 Dec 2001 22:07:05 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 13881 invoked by uid 97); 5 Dec 2001 22:07:03 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 13856 invoked from network); 5 Dec 2001 22:07:01 -0000 Date: Wed, 05 Dec 2001 15:05:40 -0700 From: Dan Gross <davidcunningham@example.com> Subject: Re: How to determing the relationship between tags Sender: davidcunningham@example.com To: Tag Libraries Users List <davidcunningham@example.com> Message-id: <davidcunningham@example.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4) Gecko/20010915 References: <Pine.LNX.4.21.0112051518410.16452-100000@precision> <davidcunningham@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If you use an include directive, like: <%@ include file="pageContainingTag2.jsp" %> instead of a JSP include, then findAncestorWithClass() will work. --Dan Martin Cooper wrote: >One thing to be aware of with findAncestorWithClass() is that it works only >within the JSP page. This is not surprising in itself. However, if you want >to be able to have the nested tag in an included page, you can't use this >mechanism to find the parent. > >That is, with this code in the page: > > <mytags:tag1 ... > > <mytags:tag2 ... /> > </mytags:tag1> > >tag2 can find tag1 using findAncestorWithClass() just fine. However, with >this: > > <mytags:tag1 ... > > <jsp:include page="pageContainingTag2.jsp" /> > </mytags:tag1> > >tag2 will be unable to find tag1 using findAncestorWithClass(). > >It may not always be necessary to be able to do this, but I point it out >because we had this issue with the Struts HTML tags. The various <html:*> >tags need to refer to their containing <html:form> tag. However, if the form >gets very large, and the page breaks the limit on the size of a compiled >method, you are forced to split the form across pages. To make this work in >Struts, the doStartTag() method in <html:form> stores a reference to itself >as a request attribute, the nested tags use that, and then doEndTag() cleans >it up. > >-- >Martin Cooper > > >----- Original Message ----- >From: Shawn Bayern <davidcunningham@example.com> >To: Tag Libraries Users List <davidcunningham@example.com>; ><davidcunningham@example.com> >Sent: Wednesday, December 05, 2001 12:20 PM >Subject: Re: How to determing the relationship between tags > > >>On Wed, 5 Dec 2001, bo wrote: >> >>>I wonder if I can determine the relationship among tags, such as tag A >>>should be within tag B etc. Is that possible? Thanks! >>> >>You can use a TagLibraryValidator class to enforce arbitrary >>characteristics of the XML view of a JSP page, including specific >>relationships among tags. For an example of a SAX-based approach to >>validation, see the JstlCoreTLV class in the "Standard" taglib. >> >>Tags can also, at runtime, gain access to their parent tag handlers. The >>most convenient mechanism for doing this is, in most cases, the static >>TagSupport.findAncestorWithClass() method, part of the JSP API. >> >>Hope that helps, >> >>Shawn >> >> >>-- >>To unsubscribe, e-mail: >> ><mailto:davidcunningham@example.com> > >>For additional commands, e-mail: >> ><mailto:davidcunningham@example.com> > > > >-- >To unsubscribe, e-mail: <mailto:davidcunningham@example.com> >For additional commands, e-mail: <mailto:davidcunningham@example.com> > -- To unsubscribe, e-mail: <mailto:davidcunningham@example.com> For additional commands, e-mail: <mailto:davidcunningham@example.com> From taglibs-user-returndavidcunningham@example.com Wed Dec 05 22:26:06 2001 Return-Path: <taglibs-user-returndavidcunningham@example.com> Delivered-To: davidcunningham@example.com Received: (qmail 65930 invoked from network); 5 Dec 2001 22:26:06 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Dec 2001 22:26:06 -0000 Received: (qmail 968 invoked by uid 97); 5 Dec 2001 22:26:06 -0000 Delivered-To: davidcunningham@example.com Received: (qmail 952 invoked by uid 97); 5 Dec 2001 22:26:06 -0000 Mailing-List: contact davidcunningham@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:davidcunningham@example.com> List-Subscribe: <mailto:davidcunningham@example.com> List-Help: <mailto:davidcunningham@example.com> List-Post: <mailto:davidcunningham@example.com> List-Id: "Tag Libraries Users List" <taglibs-user.jakarta.apache.org> Reply-To: "Tag Libraries Users List" <davidcunningham@example.com> Delivered-To: mailing list davidcunningham@example.com Received: (qmail 941 invoked from network); 5 Dec 2001 22:26:05 -0000 Message-ID: <davidcunningham@example.com> From: "Martin Cooper" <davidcunningham@example.com> To: "Tag Libraries Users List" <davidcunningham@example.com> References: <Pine.LNX.4.21.0112051518410.16452-100000@precision><davidcunningham@example.com> <davidcunningham@example.com> Subject: Re: How to determing the relationship between tags Date: Wed, 5 Dec 2001 14:27:00 -0800 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 (480)894-8247 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N True, but that doesn't solve the particular problem I was describing. If you are breaking up a page into multiple pages because the compiled size blows the JVM limit, you have to use <jsp:include>. The include directive includes at compile time, so you're no better off than when you started. -- Martin Cooper ----- Original Message ----- From: Dan Gross <davidcunningham@example.com> To: Tag Libraries Users List <davidcunningham@example.com> Sent: Wednesday, December 05, 2001 2:05 PM Subject: Re: How to determing the relationship between tags > If you use an include directive, like: > > <%@ include file="pageContainingTag2.jsp" %> > > instead of a JSP include, then findAncestorWithClass() will work. > > --Dan > > Martin Cooper wrote: > > >One thing to be aware of with findAncestorWithClass() is that it works only > >within the JSP page. This is not surprising in itself. However, if
{'source': 'Apache Software Foundation Public Mail Archives'}