Dave Newton wrote:

>On Wednesday 03 April 2002 03:50 am, Chuck Amadi wrote:
>
>>Sorry if sounds pathetic nevetheless i have downloaded the   (mysql)
>>mm.mysql-2.0.4-bin.jar file .
>>I was able to get the PostgrSql to function correctly by installing
>>dbtags taglibrary and followed the configuration steps.
>>
>>Anyway there is a dbtag.tld that resides in /WEB-INF sub directory of my
>>web application is this therefore utilised by both tag library Jar Files
>>. As i have to add a taglib element to my web app deployment descriptor
>>in my web.xml.
>>
>>Thus i created my own mysql.tld as nothing else works nor this.So assume
>>that
>>
>><taglib>
>>  <taglib-uri>mm.mysql-2.0.4-bin.jar</taglib-uri>
>>  <taglib-location>/WEB-INF/mysql.tld</taglib-location>
>></taglib>
>>
>>So assume that the tag element below is functionally for both Jar Files.
>>
>><taglib>
>>  <taglib-uri>http://jakarta.apache.org/taglibs/dbtags</taglib-uri>
>>  <taglib-location>/WEB-INF/dbtags.tld</taglib-location>
>></taglib>
>>
>
>I'm confused; the mm.mysql isn't a taglib.
>
>Dave
>
Sorry for the confusion i mean i have downloaded the mysql driver and i 
won't to confirm the following:

Does the dbtags.taglibrary that i know functions with postgresql, also 
does and works the same way as the postgresql driver .
Thus i assume all i then do is add the open database connection like so 
and just use org.gjt.mm.mysql.Driver instead of org.postgresql.Driver.

I have this jar (mm.mysql-2.0.4-bin.jar) in my WEB-INF/lib dir of my web application.



<%-- open database connction--%>
<table border ="5" >
<!-- sets the table background to light blue-->
<sql:connection id="conn1">
  <sql:url>jdbc:postgresql://***.**.*.**/plan1</sql:url>
  <sql:driver>org.postgresql.Driver</sql:driver>
  <sql:userId>*****</sql:userId>
  <sql:password>****</sql:password>
</sql:connection>

Cheers Chuck Amadi
Systems Programmer



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to