Re: cannot find org.postgres.Driver

Поиск
Список
Период
Сортировка
От Ulrich Meis
Тема Re: cannot find org.postgres.Driver
Дата
Msg-id 40B69D7F.9050406@halifax.rwth-aachen.de
обсуждение исходный текст
Ответ на Re: cannot find org.postgres.Driver  (Felipe <pipojmr@yahoo.com.mx>)
Список pgsql-jdbc
Felipe wrote:

> I'm using the file pg73jdbc3.jar which is included in my classpath
>


And here's the problem. Your browser uses the Java Plugin and that has a
different classpath. You can set it on your machine, but you can't set
it on everyone's machine who's going to visit your page.
You need to include the jar file in your applet tag. I am not sure if it
is possible with a plain <applet> tag, but you can try to add
codebase="pg73jdbc3.jar".
That might fail, but with JDK 1.2 applets you shouldn't use that tag
anyway. Unfortunately it depends on the browser if you need to use an
<object> or an <embed> tag, but the whole matter is best discussed here:
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/contents.html
where you can find a solution for both major browser families out there.

Greetings,

Uli



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: getGeneratedKeys method
Следующее
От: Warren Little
Дата:
Сообщение: application handing on send