Hi,
i have an
applet class named SimpleApplet.class
i also have supporting jar file named migcalendar.jar
these two files are present in my Application Servers folder in my box in the following folder
C:\Sybase\EAServer\java\classes
My Application server is
Jaguar CTS - Component Transaction Server/Version 5.2.0 (Build 52025)/P/PC Intel /Microsoft Windows/OPT/Nov 29 2004 16:40:29
I have included the applet class in a
jsp named SimpleApplet.jsp
the jsp is also in my applicattion servers folder in my box in the following location
C:\Sybase\EAServer\Repository\WebApplication\schlumberger\WEB-SCHLUMBERGER\pagetypes
Below is the jsp file content
<HTML>
<BODY>
<table>
<tr>
<td>
<jsp
lugin
type="applet"
code="SimpleApplet"
codebase="C:\Sybase\EAServer\java\classes"
jreversion="1.4.2"
align="center" width="640" height="400"
archive="migcalendar.jar"
pluginurl="http://java.sun.com/j2se/1.4.2/download.html"
iepluginurl="http://java.sun.com/j2se/1.4.2/download.html" >
<jsp:fallback>
<p>Unable to start plugin.</p>
</jsp:fallback>
</jsp
lugin>
</td>
</tr>
</table>
</BODY>
</HTML>
below is the error message in the
Java Console
Java Plug-in 1.6.0_01
Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\rajnishs
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump
thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
load: class SimpleApplet not found.
java.lang.ClassNotFoundException: SimpleApplet
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
i am strugling with for the past 3 days
can any one get me out of this.......
thanks and regards in advance