> Hi James :
> Thanks for your reply, but I still got the problem:
> My HTML code releate to Applet:
>   <APPLET CODE="OutputApplet.class"
>     CODEBASE="http://10.3.13.19/~jonesc"
>     WIDTH=600 HEIGHT=250>
>   </APPLET> 
> I had put my OutputApplet.class & postgresql.jar in same directory.
> and PostgreSql database & Apache Server on same machine (Linux Redhat
> 6.0).
> 
> 1. When I use IE4.0 from Micro$oft Win95, I got the message in applet
> window:
> "Can't find Database driver class: java.lang.ClassNotFoundException:
> postgresql/Driver"
> 2. When I goto the same linux machine, use netscape browser, I got the
> same error reply.
> 3. But on this machine, I use appletviewer index.html, the applet can
> success got data through 
> JDBC to Postgresql database.
> 
> 
>       ----------
>       :       James Seigel [SMTP:[EMAIL PROTECTED]]
> 
>       :       DD23 CCChang2
>       :       [EMAIL PROTECTED]
>       :       Re: Question
> 
>       Check your applet tag for codebase tag
>       Check to make sure your datbase driver is available in the directory
> where
>       your codebase is implied.
>       Make sure you database is on the same machine as the applet is
> loaded
>       from.
> 
> 
>       3 is for after you fix the first two.
> 
>       J
> 
>       Pooh Bear -- "I am just a bear of little brain"
> 
> 
>       On Thu, 4 Nov 1999, DD23 CCChang2 wrote:
> 
>       > 
>       > > Dear Sirs:
>       > > I am junior JAVA programmer, one question need your help.
>       > > I had RedHat Linux 6.0 with Java 1.2 SDK and PostgreSQL
> database,
>       > > and my web server is Apache 1.3.6 version.
>       > > I had copy the postgresql.jar into /jdk1.2/jre/lib/ext.
>       > > 
>       > > then, I wrote an applet just query the data from PostgreSql
> database,
>       > > and show the result on screen, then created the test.html file, 
>       > > and include the class , when I use appletviewer test.html, I can
> see 
>       > > the data everything is OK, 
>       > > 
>       > > but when I put the html on my web, then I can see the applet
> area show 
>       > > "Can't find Database Driver ...... postgresql.drive...."
>       > > It's anything Linux envirounment setting error?
>       > > Tks!
>       > > 
>       > > Jones Chang
>       > > 
>       > 
>       > 
>       >
> ----------------------------------------------------------------------
>       > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>       > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>       > 
> 
> 
>       
> ----------------------------------------------------------------------
>       To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>       with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to