[Logo]
Forums Register Login
ClassNotFoundException
I have an very urgent problem! I wrote an Applet and integrated it to a HTML-file by using:
<applet code=SHSimulationsApplet.class width=800 height=600> </applet>.
The HTML-file and my classes are in the same directory, but when I start my homepage, I always get the message: class SHSimulationsApplet.class not found. I don't know why and what to do??
PLEASE HELP ME!!!
Try using the codebase tag...
<APPLET
CODEBASE = "."
CODE=SHSimulationsApplet.class width=800 height=600
>
</APPLET>
Also, make sure your .class file is actually in the same folder as your HTML file in which the above tag is located. Is this class in a package? If so you have to include the fully-qualified class name, including the package structure.
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 458 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 20, 2018 22:59:08.