File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes java class not found me pls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java class not found me pls" Watch "java class not found me pls" New topic

java class not found me pls

priya _raghu

Joined: Feb 01, 2004
Posts: 4
I am doing a chat program using applet and servlet.
so whenever messages passed between applet and servlet
i am storing it in one java class file called
so i want to call file from applet.when i create
a object for class message its giving compiler error like
" cannot resolve symbol class message".Applet class and are in the same directory.
can anybody help pls.
Joe Ess

Joined: Oct 29, 2001
Posts: 8707

Sounds like you didn't compile and put the class file where the applet can find it.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24166

Moving this to the Java beginner's forum, where "class not found" questions are more at home.

[Jess in Action][AskingGoodQuestions]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
priya _raghu,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023 might be in the same folder as the Applet, but is the compiled message.class in the same folder as the Applet?
I agree. Here's the link:
subject: java class not found me pls
Similar Threads
servlet calling applet
"Sending Applet through Servlet"
can i run applet on server?
where to store the applet file using JWS in servlet technology?