S
sb5309
I am trying to test a simple java program from a server, it does not
work.
Java File
======
import java.awt.*;
import java.applet.*;
public class SyDb1 extends Applet
{
public void paint(Graphics g) {
g.drawString("SEAY alo!", 60, 75);
}
}
HTML File
=======
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<applet code="SyDb1.class" width=800 height=150></applet>
</body>
</html>
Using Appletviewer.exe, it works. When open it from a web server, I
just see a box with the word "Java".
Is there anything I need to turn on at ther server ? Thanks.
work.
Java File
======
import java.awt.*;
import java.applet.*;
public class SyDb1 extends Applet
{
public void paint(Graphics g) {
g.drawString("SEAY alo!", 60, 75);
}
}
HTML File
=======
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<applet code="SyDb1.class" width=800 height=150></applet>
</body>
</html>
Using Appletviewer.exe, it works. When open it from a web server, I
just see a box with the word "Java".
Is there anything I need to turn on at ther server ? Thanks.