tag <applet> with a file .class created by netbeans

i ve created a simple JApplet with netbeans, so i can view a JSP that loads this applet. But if a try to make a HTML file (without netbeans) like this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title></title>

</head>

<body>

<applet code="NewJApplet.class" ></applet>

</body>

</html>

does 'nt work!!! "applet NewJApplet notinited"

The NewJApplet.class is in the same folder of the HTML file, of course.

[583 byte] By [snoopybad77a] at [2007-10-3 4:10:30]
# 1
Have you placed these files behind a Server?you need to use the http url in order to open this htmland not file url, which is probably the case.
PMJaina at 2007-7-14 22:10:46 > top of Java-index,Java Essentials,New To Java...