Re: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Harry Mantheakis
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

Re: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Adrian Lanning
- 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

RE: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Shapira, Yoav
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

RE: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Tom K
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

Re: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Adrian Lanning
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

Re: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Harry Mantheakis
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

RE: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Tom K
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

Re: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Harry Mantheakis
:[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