From: Jian Li <jian@west17.com>
To: "'java-security@web2.javasoft.com'" <java-security@web2.javasoft.com>
Subject: Why I can not access the local db
Date: Fri, 1 May 1998 02:40:05 -0400
Hi,
I am writing a small program which uses jdbc api to get the data from =
database.
The standalone application works fine. But when I want to use a browser =
to invoke
the program, I have problems. The prompt message is just a =
sun:jdbc.odbc/JdbcOdbcDriver. I think the problem is it is not allowed =
to connect
to this db.
I tried the same thing by using a registered java class on a asp. The =
same problem
exists. I last shot I had was to write a rmi db server ( a standalone =
application) and let
a client to make a remote call to get data from the db. But when I tried =
to execute the
client from a asp, a got a java/rmi/Naming NoClassDefFoundError.
Can you tell me what's going on if you have any idea>
Jian