Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Test JApplet from hard drive through html

  Asked By: Sean    Date: May 31    Category: Java    Views: 726

I'm trying to kick off an applet I wrote from within a web page, both
on my hard drive.

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<APPLET CODE = "C:\JAVA\DEV\Out2EatApplet\out2eatmainAppl.class"
<div class=Section1>

The path is correct.

I get this error:

load: class C:\JAVA\DEV\Out2EatApplet\out2eatmainAppl.class not found.


How can I get around this?



1 Answer Found

Answer #1    Answered By: Abrianna Rossi     Answered On: May 31

u must write the Applet tag like that

<APPLET CODE ="out2eatmainAppl.class"

just the class  file no more

Didn't find what you were looking for? Find more on Test JApplet from hard drive through html Or get search suggestion and latest updates.