Re: Unable to run Applets with appletviewer

Поиск
Список
Период
Сортировка
От janteegen@web.de (Jan Teegen)
Тема Re: Unable to run Applets with appletviewer
Дата
Msg-id d02f1ea8.0310301404.f5fcfed@posting.google.com
обсуждение исходный текст
Ответ на Re: Unable to run Applets with appletviewer  ("Blankz-Boy" <blankz@telkom.net>)
Список pgsql-jdbc
Hello Francisco,
i hope you can understand by bad english.
There are two things in your Applet which are incorrect.
At first you have to download and install a JDBC Driver for your
postgres database (http://jdbc.postgresql.org). The install manual at
this side is for Java-Applications. That means that you have to
install the driver in the directory where your Java JDK is on your
harddisk (it's just a jar-File).
But in an Applet will be called from anyone from the internet with a
webbrowser. And in the JRE of the webrowser is no JDBC driver for
postgres. So you have to extract the jar-File of the JDBC driver to
your path of the harddisk where yours Applet class is.
I don't know if i'am right but i think your applet is not certified.
An applet has no access to the Network or to the Filesystem if it is
not certified.
If you want only test how a Database work with Java so you should take
an application. An application has access to the Network and so on.
There are no limits. But if you want an applet you have to sign it.
this is a not easy process at the beginning. If you want so, i can
give some advise to sign an applet.

Jan

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

Предыдущее
От: Alessandro Polverini
Дата:
Сообщение: Generated Keys
Следующее
От: Michael Andreasen
Дата:
Сообщение: A bug in 7.3 jdbc driver