Re: cannot find org.postgres.Driver

Поиск
Список
Период
Сортировка
Искать
От
Dave Cramer
Тема
Re: cannot find org.postgres.Driver
Дата
в 21:53:52
Msg-id
1085532807.1652.4.camel@localhost.localdomain
Ответ на
Список
Дерево обсуждения
cannot find org.postgres.Driver Felipe <pipojmr@yahoo.com.mx>
Re: cannot find org.postgres.Driver Dave Cramer <pg@fastcrypt.com>
Re: cannot find org.postgres.Driver Ulrich Meis <kenobi@halifax.rwth-aachen.de>
Re: cannot find org.postgres.Driver Felipe <pipojmr@yahoo.com.mx>
Re: cannot find org.postgres.Driver Ulrich Meis <kenobi@halifax.rwth-aachen.de>
Felipe,

from the http://jdbc.postgresql.org/doc.htm site

So our url? It's one of the following:

        jdbc:postgresql:database
        jdbc:postgresql://host/database
        jdbc:postgresql://host:port/database
        
where database is the database to connect to, host the server to connect
to, and port the port number.

If left out, host defaults to localhost (not 127.0.0.1 see applets!) and
port to 5432 (configurable at build time).

Dave

On Tue, 2004-05-25 at 18:44, Felipe wrote:
> Hi everybody
>  
> I'm trying to write an applet to acces postgres but when I load the
> applet in a web browser doesn't seems to work. In the JVM console I
> obtain an error that says something like this
>  
> Cannot find "/home/applets/org/postgresql/Driver"
>  
> the code I use to load the postgres driver is as follows
>  
> Class.forName("org.postgresql.Driver");
> Connection db =
> DriverManager.getConnection("jdbc:postgresql:arl",user,password);
>  
> where arl is the database name
>  
> for you anwser thanks
> 
> 
> 
> ______________________________________________________________________
> Do You Yahoo!?
> Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo por
> $100 al mes.
> !DSPAM:40b3cd80232576939882854!
-- 
Dave Cramer
519 939 0336
ICQ # 14675561

В списке pgsql-jdbc по дате отправления
От: Felipe
Дата:
От: Ceki Gulcu
Дата:
Сообщение: getGeneratedKeys method
FAQ