Jason Li

Greenhorn
+ Follow
since Aug 20, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jason Li

Hi guys,

I am a beginner in applet. I'm creating a web based application. I created a simple applet named "sampleapplet.HelloApplet" and a TestApplet.html page to run it, like this

<html>
<head>
<title> HTML Test Page </title>
</head>
<body>
sampleapplet.HelloApplet will appear below in a Java enabled browser.
<br><br>
<applet
codebase = "."
code = "sampleapplet.HelloApplet.class"
name = "TestApplet"
width = "400"
height = "300"
hspace = "0"
vspace = "0"
align = "middle"
>
</applet>
</body>
</html>

I can start it by openning the TestApplet.html directly. When I try to run it under the Tomocat, it threw error "load:class sampleapplet.HelloApplet not found". I have copied "sampleapplet.HelloApplet.class" into the WEB-INF\classes.

Can any one suggest me to deploy it correctly?

Thnaks,
Jason Li
16 years ago