Обсуждение: JDBC3 en applet

Поиск
Список
Период
Сортировка

JDBC3 en applet

От
"Alexys Lozada Casallas"
Дата:
Hi friends!, excuseme but i don't speak english, but i try.... i'm using Jdbc3PoolingDataSource for my connectionPool,
wheni use Jdbc in JFrame,  it's not problem, but when i use Jdbc in JApplet this show this message:
java.lang.NotClassDefFoundError. Can you help me? thanks.  
[Alexys Lozada Casallas]


Re: JDBC3 en applet

От
Dave Cramer
Дата:
Alexys,

It's quite likely you left out the postgresql jar in the applet
classpath.

Dave
On 27-Nov-06, at 6:36 PM, Alexys Lozada Casallas wrote:

> Hi friends!, excuseme but i don't speak english, but i try.... i'm
> using Jdbc3PoolingDataSource for my connectionPool, when i use Jdbc
> in JFrame,  it's not problem, but when i use Jdbc in JApplet this
> show this message:  java.lang.NotClassDefFoundError.  Can you help
> me? thanks.
> [Alexys Lozada Casallas]
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org
>


Re: JDBC3 en applet

От
"Alexys Lozada Casallas"
Дата:
SOLVED!!!,

In html:
<applet code="MiProgram.class" archive="pgsql.8.1-4.jdbc3.jar" ....></applet>

with the attribute ARCHIVE the applet load the .jar

Thank's all
Thank, Dave

Alexys


El contenido de este mensaje y sus anexos es propiedad exclusiva de CENTRAL DE INVERSIONES S.A., son únicamente para el
usodel destinatario y pueden contener información que no es de caracter público de uso privilegiado o confidencial. Si
ustedno es el destinatario intencional se le informa que cualquier uso, difusión, distribución o copiado de esta
comunicaciónestá terminantemente prohibido. Cualquier revisión, diseminación o uso del mismo, así como cualquier acción
quese tome respecto a la información contenida, por personas o entidades diferentes al proposito original de la misma,
esilegal. 

Así mismo, las opiniones que contenga este mensaje son exclusivas de su autor y no necesariamente representan la
opiniónoficial de CENTRAL DE INVERSIONES S.A.