I am doing a project on chat in javaapplet.. I have made it using netbeans ide. In netbeans it works fine. Now I want to run it from command prompt. But I got the classnotfoundexception every time. I am giving my directory structure:::
|-----Server.class (This is my main class)
|-----Client.class (This is the class which extends applet)
|-----Some More Classes are here Now suggest me where should I keep my Client.html file?? I've been tried to keep it on ChatSystem folder besides of com folder. And I have written inside the <applet> tag this:::
<HTML><HEAD><TITLE>Applet HTML Page</TITLE></HEAD>
<APPLET codebase="/com/chat/frame" code="Client.class" width=700 height=500></APPLET>
Joined: Mar 22, 2005
I've been tried to keep it on ChatSystem folder besides of com folder
That's the correct place.
Replace that by code="com.chat.frame.Client.class"