|
hi!
I have a servlet calling applet and
the server is Tomcat4
I have a html code that works perfectly but when i
incorporate that html to my servlet, the browser cant find the class file of my
applet.Here is my html code:
<html>
<head><title>AppletGraphs</title></head> <body> <OBJECT
classid="javascript:void(0);"
WIDTH = 900 HEIGHT = 300 codebase="http://java.sun.com/products/plugin/1.1.1/jinstall-111-win32.cab#Version=1,1,1,0"> <PARAM NAME = CODE VALUE = "LineGraphs.class" > <PARAM NAME="type"
VALUE="application/x-java-applet;version=1.1">
<PARAM NAME = data VALUE ="80000,56966,30606,56626,57180,10083,9740"> <PARAM NAME = color VALUE ="#ff00ff"> <COMMENT> <EMBED type="application/x-java-applet;version=1.1" java_CODE = "LineGraphs.class" WIDTH = 900 HEIGHT = 300 data =" "80000,56966,30606,56626,57180,10083,9740"" color = "#ff00ff" pluginspage="http://java.sun.com/products/plugin/1.1.1/plugin-install.html"><NOEMBED></COMMENT> </NOEMBED></EMBED>
</OBJECT> </body>
</html> The java console outputs: "load: class
LineGraphs.class not found."
Do i have to specify the classpath of my applet? I placed the class file of my servlet and applet in
the same directory, please help, im lost!
|
