Hey Steve, Sorry for the delay in reponding. For some reason, both our corporate email and Yahoo mail were experiencing big problems yesterday. In response to your email: > -----Original Message----- > From: Steve Philp [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 19, 2001 5:29 PM > To: [EMAIL PROTECTED] > Subject: Re: Newbie problems with JDBC taglib > > > Morgan Delagrange wrote: > > > > --- Morgan Delagrange <[EMAIL PROTECTED]> wrote: > > > > > > --- Steve Philp <[EMAIL PROTECTED]> wrote: > > > > [snip] > > > > > > > > When I execute that page under Resin 1.2.1 (IBM > > > JDK > > > > 1.3 on Linux) I get > > > > the following error: > > > > > > > > java.lang.NoSuchMethodError: > > > > javax.servlet.jsp.tagext.TagData: method > > > > getAttributes()Ljava/util/Enumeration; not found > > > > [snip] > > > > > > > > What am I doing wrong? > > > > Strike that solution! I changed the source for the > > tag library to use the "getAttribute(String)" method > > instead, which seems to be supported by Resin. Now > > you should be able to use the getter tags from > > tonight's nightly build. Please note, however, that > > if Resin does not support the full Servlet 2.2 API, > > you may run into more problems with this and other > > Jakarta tag libraries. > > I'm wondering whether Resin 1.2.1 was just a bad version to > be trying it > with. After posting the message, I grabbed the latest Resin > (1.2.3) and > didn't have any further problems with it. > > I'll grab the newest nightly of the JDBC taglib as well, > these have cut > a TREMENDOUS amount of code out of my pages. Mine too. :) Glad to hear it. > One stylistic question, if I might. In the <sql:statement> and > <sql:closeConnection> tags, the connection created using > <sql:connection> is identified by the key "conn". In the > <sql:connection> tag, it's keyed on "id" instead. Any chance to make > them all the same? For new users, it certainly makes it easier to > remember what the keyword should be. Actually, that's a pattern for tag library design. Using the "id" attribute implies that I am writing an object (in this case, java.sql.Connection) to the PageContext. I think the benefits outweigh the consequences. > Anyway, a big thanks to everyone that was involved in putting > these tags > together, they're highly appreciated by this user! > > -- > Steve Philp, MCSE/MCP+I > Assistant IS Manager > Advance Packaging Corporation > [EMAIL PROTECTED] > ===== Morgan Delagrange Britannica.com __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
