Hello
pstmt.setString(1,ClassifiedAd);
pstmt.setString(2,UniqueDateId);
Are those two parameters - 'ClassifiedAd' and 'UniqueDateId' - variables?
They should be, and if so, where do you declare and initialise them? They do
not appear in the method you posted.
Harry
I am frustrated trying
- Original Message -
From: Harry Mantheakis [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 26, 2004 3:28 AM
Subject: Re: Question on debuggin JNDI/prepared statement in a bean
Hello
pstmt.setString(1,ClassifiedAd);
pstmt.setString(2,UniqueDateId);
Are those two
Subject: Re: Question on debuggin JNDI/prepared statement in a bean
This topic doesn't really have anything to do with Tomcat so you might
have
better luck receiving help on some other mailing list. Anybody know
which
list he should be posting to?
What is the actual problem you are having?
Do you
Subject: Re: Question on debuggin JNDI/prepared statement in a bean
Hello
pstmt.setString(1,ClassifiedAd);
pstmt.setString(2,UniqueDateId);
Are those two parameters - 'ClassifiedAd' and 'UniqueDateId' -
variables?
They should be, and if so, where do you declare and initialise them?
They do
List
Subject: Re: Question on debuggin JNDI/prepared statement in a bean
Hello
pstmt.setString(1,ClassifiedAd);
pstmt.setString(2,UniqueDateId);
Are those two parameters - 'ClassifiedAd' and 'UniqueDateId' -
variables?
They should be, and if so, where do you declare and initialise them
Hi Tom
how do you set up a JNDI connection
in a bean?
Exactly the same way as you would anywhere else, so if you have some code
working in a servlet, copy it.
To be precise, it is a database connection, acquired from a DataSource,
which is itself acquired via a JNDI lookup. The fact that your
is an address. Anyone know what know how to get, what's
in the address. Maybe open a stream?
TIA
Tom K.
-Original Message-
From: Harry Mantheakis [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 10:43 AM
To: Tomcat Users List
Subject: Re: Question on debuggin JNDI/prepared
:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 10:43 AM
To: Tomcat Users List
Subject: Re: Question on debuggin JNDI/prepared statement in a bean
Hi Tom
how do you set up a JNDI connection
in a bean?
Exactly the same way as you would anywhere else, so if you have some
code
working