can t load applets

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!!! The NewJApplet.class is in the same folder of the HTML file, of course.

[546 byte] By [snoopybad77a] at [2007-10-3 4:10:28]
# 1
ops the code was<applet code="NewJApplet.class"></applet>but does 'nt work!Message was edited by: snoopybad77
snoopybad77a at 2007-7-14 22:10:43 > top of Java-index,Desktop,Core GUI APIs...
# 2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01

Transitional//EN">

<html>

<head>

<title></title>

</head>

<body>

<!-- don't forget to put the width and height -->

<applet

code="NewJapplet.class"

width = 500

height =500

>

</applet>

</body>

</html>

--

Nywled

Message was edited by:

Redxxiv

Message was edited by:

Redxxiv

Redxxiva at 2007-7-14 22:10:43 > top of Java-index,Desktop,Core GUI APIs...
# 3
sorry the codes looks so messed up..hehe..-Nywled
Redxxiva at 2007-7-14 22:10:43 > top of Java-index,Desktop,Core GUI APIs...
# 4
Ok, it but doesn't work... probably the problem was caused by not using a HTTP URL, but a file URL...
snoopybad77a at 2007-7-14 22:10:43 > top of Java-index,Desktop,Core GUI APIs...
# 5
Try to use the object tag instead of the applet tag.Check out [jdk home]/bin/htmlconverter.exe to convert your html page.Then try to check out the full trace. http://forum.java.sun.com/thread.jspa?threadID=656028
harmmeijera at 2007-7-14 22:10:43 > top of Java-index,Desktop,Core GUI APIs...