Re: cannot find org.postgres.Driver
От | Dave Cramer |
---|---|
Тема | Re: cannot find org.postgres.Driver |
Дата | |
Msg-id | 1085532807.1652.4.camel@localhost.localdomain обсуждение исходный текст |
Ответ на | cannot find org.postgres.Driver (Felipe <pipojmr@yahoo.com.mx>) |
Список | pgsql-jdbc |
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 по дате отправления: