Link to home
Start Free TrialLog in
Avatar of deeppra
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
Avatar of mukundha_expert
mukundha_expert

>>pakage deeppra.chat

if thats your package, your class should be in --> deeppra/chat/Chat.java
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of deeppra

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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ya it should be class file,

place your class like this and try,

web-app
            --->html --------------------> index.html
                         --------------------> deepra --> chat --> Chat.class
            --->WEB-INF