File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Applets
Author
Applet code attribute unable to find the .class file
haripriya vedula
Greenhorn
Joined: May 31, 2008
Posts: 24
posted
Oct 06, 2010 05:17:35
0
Hi,
I am new to
applets
. I created a HelloWorldApplet by selecting a
java
project in eclipse and output(compiled classes are under prj/bin/ folder.
When i am calling
applet
class from html its unable to find the HelloWorldApplet .class file.
My code of snippet is as follows:
<APPLET CODE="HelloWorldApplet.class" WIDTH=500 HEIGHT=50>
</APPLET>
Can anyone help me where i am wrong.
Thanks,
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35224
7
posted
Oct 06, 2010 05:27:34
0
The .class file must be in the same directory as the .html file (unless the class is part of a package, in which case the package root is the directory where the .html file is in).
Android apps
–
ImageJ plugins
–
Java web charts
haripriya vedula
Greenhorn
Joined: May 31, 2008
Posts: 24
posted
Oct 06, 2010 06:45:10
0
Thank you !
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Applet code attribute unable to find the .class file
Similar Threads
Another java.lang.NoSuchMethodError: main error
Applet tag in a servlet.
appletviewer window never pop up
applet help please
Calling an Applet from JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter