deeppra
asked on
problem in Applet embedding in HTML page
hai,
i have some problem in the applet. I have a account in myjavaserver.com website. the account name is deeppra. I uploaded my applet program to this path to the server
/chat/Chat.java
in the Chat.java contains in the pakage deeppra.chat
then i created a html file to put the applet, but i gives error message like "Class not found"
this is the code i put in the html file to include the applet
<applet code="deeppra.chat.Chat" width=800 height=400></applet>
Then i saved the file in the root directory as
/Chat.html
Tell me whats the problem
i have some problem in the applet. I have a account in myjavaserver.com website. the account name is deeppra. I uploaded my applet program to this path to the server
/chat/Chat.java
in the Chat.java contains in the pakage deeppra.chat
then i created a html file to put the applet, but i gives error message like "Class not found"
this is the code i put in the html file to include the applet
<applet code="deeppra.chat.Chat" width=800 height=400></applet>
Then i saved the file in the root directory as
/Chat.html
Tell me whats the problem
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yea i put all the files there
u can access the site with this url
ftp.myjavaserver.com
username:deeppra
pass:pradeep_
you can go there and see the things, there will be many files but u have all these files inside the chat folder.. u have all the code, class file and html file there
Thanks
u can access the site with this url
ftp.myjavaserver.com
username:deeppra
pass:pradeep_
you can go there and see the things, there will be many files but u have all these files inside the chat folder.. u have all the code, class file and html file there
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ya it should be class file,
place your class like this and try,
web-app
--->html --------------------> index.html
--------------------> deepra --> chat --> Chat.class
--->WEB-INF
place your class like this and try,
web-app
--->html --------------------> index.html
--------------------> deepra --> chat --> Chat.class
--->WEB-INF
if thats your package, your class should be in --> deeppra/chat/Chat.java