'id' rather than 'conn'
> in the sql:closeConnection tag which is incorrect.
Good catch. Fixed.
>
> - Original Message -
> From: "Morgan Delagrange" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 02, 2001 1:21 P
Delagrange" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 1:21 PM
Subject: Re: JDBC Statement tag: connection scope
>
>
> On Wed, 2 May 2001, Brent Johnson wrote:
>
> > The statement tag gets its connection as follows inside of doStartTag(
On Wed, 2 May 2001, Brent Johnson wrote:
> The statement tag gets its connection as follows inside of doStartTag():
> Connection conn = (Connection)pageContext.getAttribute(_connId);
>
> This means that the connection must be defined at PAGE_SCOPE. This seems a bit
>restrictive. What if my
The statement tag gets its connection as follows
inside of doStartTag():
Connection conn =
(Connection)pageContext.getAttribute(_connId);
This means that the connection must be defined at
PAGE_SCOPE. This seems a bit restrictive. What if my connection
isn't at page scope? Is there a reas