Actually, that's just a typo that I made when sending this email.
Sorry. Assume that I have all the typing correct for this one.
thanks!
brett
-----Original Message-----
From: Morgan Delagrange
Sent: Thu 4/19/2001 6:01 PM
To: [EMAIL PROTECTED]
Cc:
Subject: Re: 'No suitable driver' exception
There's a typo in your sample JSP. Is this really what your
source looks
like?
<sql:driver initParameer="dbDriver"/>
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 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/driver
> information directly in the JSP page. It anyone can help,
this would be
> much appreciated.
>
> Thanks,
> Brett
>
> Here are the relavant code snippets...
>
>
> Tagged Database connection attempt in my.JSP File ------
> <sql:connection id="conn1">
> <sql:url initParameter="dbURL"/>
> <sql:driver initParameer="dbDriver"/>
> </sql:connection>
> -----------------------------------------
> Web.XML file ----------------------------
> <context-param>
> <param-name>dbURL</param-name>
>
>
<param-value>jdbc:oracle:thin:[EMAIL PROTECTED]:1521:NM
> S</param-value>
> </context-param>
> <context-param>
> <param-name>dbDriver</param-name>
>
<param-value>oracle.jdbc.driver.OracleDriver</param-value>
> </context-param>
> ------------------------------------------
>
winmail.dat