Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ブラウザを使用してアプレットを表示しようとすると、このエラーが発生します。誰もこの問題を経験したことがありますか?
これは、index.html として保存された HTML ファイルです。starApplet.class ファイルが存在する bin フォルダー内に eclipse を使用して作成しました。
<html> <applet code="starApplet.class" width="500" height="500"> </applet> </html>
ファイル名が正しいか間違っているかはわかりませんが、正しいと仮定すると、.class 拡張子を削除する必要があります。
<html> <applet code="starApplet" width="500" height="500"> </applet> </html>