Hi:
Check the codebase in connect.html. Make it "/home/ferenczi/work".
This works for me.
Maureen Lecuona
Ferenczi Gyorgy Laszlo wrote:
>
> Dear collegues,
>
> I created an applet, that is for connecting to the database Postgresql
> which runs on the same server.
>
> I can successfully execute it with an appletviewer only if I invoke it
> from its own directory.
>
> E.g:
> the Class and the required HTML file are in the work directory:
> /home/ferenczi/work/conect1.class
> /home/ferenczi/work/conect1.html
>
> The
>
> appletviewer connect1.html
>
> commnad runs perfectly.
>
> If I go to another directory (e.g. one up), and invoke:
>
> appletviewer work/connect1.html
>
> the java class fails to connect to the database.
>
> Could you help me, please?
>
> Thanks,
>
> George
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
The three principal virtues of a programmer are Laziness, Impatience,
and Hubris.
-- Larry Wall
I don't want to achieve immortality through my work, I want to achieve
it by not dying.
- Woody Allen
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]