colName should be case insensitive?

2001-04-19 Thread Dave Dribin
Hello, I was just playing around with the 04/19 version of the JDBC tag library and trying to run the example pages. I am using Oracle as a back-end database and using a JNDI named datasource under Resin 1.2.3. I am getting the following exception while running the jndijdbc.jsp page: javax.serv

Re: simple select problem

2001-04-19 Thread Aron Kramlik
In that file, line 215 is: out.print(JspRuntimeLibrary.toString(JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("conn1"), "userId"))); WhichI guess means that: pageContext.findAttribute("conn1") is evaluated to be null. I am not sure why this is the case since I have the connectio

Re: 'No suitable driver' exception

2001-04-19 Thread Morgan Delagrange
There's a typo in your sample JSP. Is this really what your source looks like? It should be "initParameter", but your servlet engine should also be giving you some sort of warning. On Thu, 19 Apr 2001, Procek, Brett wrote: > Hello, > Has anyone gotten the 'initParameter' functionality work

'No suitable driver' exception

2001-04-19 Thread Procek, Brett
Hello, Has anyone gotten the 'initParameter' functionality working using the JDBC custom library tags. I set up the appropriate Context variables in my web.xml file, but I keep getting the same exception = 'No suitable driver'. I can successfully connect to my Oracle database if I put the URL/dri

RE: simple select problem

2001-04-19 Thread Christopher Widhelm
Go and look at this file, _summary_5F_sport_jsp_1.java, in your work directory at line 215 and see which object it says is null and then add a check to your jsp to see if the object is null before you perform the operation. -Original Message- From: Aron Kramlik [mailto:[EMAIL PROTECTED]]

Re: simple select problem

2001-04-19 Thread Aron Kramlik
Sorry, I only put that in after the problem was occurring since I wanted to see if I really have a correct connection (conn1) handle. It wasn't there to begin with. Any other ideas? Thanks, Aron. - Original Message - From: Marius Scurtescu <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: simple select problem

2001-04-19 Thread Marius Scurtescu
I don't think that there is a property like "userID". Try removing and see if it works. Marius Aron Kramlik wrote: > > Hi, > > I just downloaded the JDBC binary distribution (20010410). > I have created a very simple JSP that tries to access a table. > I am running on IBM WebSpere (linux) ad

simple select problem

2001-04-19 Thread Aron Kramlik
Hi, I just downloaded the JDBC binary distribution (20010410). I have created a very simple JSP that tries to access a table. I am running on IBM WebSpere (linux) ad Sybase database. The JSP is as follows and the exception I get follows that. If anyone has any ideas I would be very greatful as I