Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to run an applet in browser????

843804Dec 4 2001 — edited Dec 9 2001
i have a jar named "browser.jar" and its main class is "main.class"

how do i display the applet onto the browser??

<html>
<head>
<title>
HTML Test Page
</title>
</head>
<body>
<applet
archive = "browser.jar"
codebase = "."
code = "main.class"
name = "TestApplet"
width = "400"
height = "300"
hspace = "0"
vspace = "0"
align = "middle"
>
</applet>
</body>
</html>

this code makes use of the applet tag which i cannot display the applet on the internet explorer browser

how can i change the html codes to object tag ???
can show me any examples or codes??

thanks, regards, merry christmas in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 6 2002
Added on Dec 4 2001
2 comments
163 views