tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Drake <>
Subject Configuring Applets in TC4.0.1 and IE 5
Date Thu, 16 May 2002 15:45:27 GMT

Hi All

I have configured TomCat 4.0.1 to run our application and it works except
for Applets.
We are using TC4.0.1 IE 5 and Java-Plugin 1.3.1

Whenever I try to load an Applet I get a ClassNotFound / FileNotFound

load: class com.amdocs.BASP.sessionmanager.applet.BASPTreeApplet not found.
java.lang.ClassNotFoundException: File not
/applet/BASPTreeApplet.class 	at
Source) 	at
Source) 	at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source) 	at
sun.applet.AppletClassLoader$ Source) 	at Method) 	at
sun.applet.AppletClassLoader.findClass(Unknown Source) 	at 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 Source) 	at Source) 

The APPLET Tag is (using jsp:plugin)

<jsp:plugin     codebase="WEB-INF/classes"
ar" width="300" height="100%" type="applet" name ="BASPTreeApplet">
        <jsp:param name="treeurl" value="<%= servletUrl %>" />
        <jsp:param name="ExpandTree" value="true" />
        <jsp:param name="treecolour" value="lightgrey" />

Our directory structure is:
	tom.. etc.../webapps/campaign		JSP's etc
	tom.. etc.../webapps/WEB-INF/classes 	empty
	tom.. etc.../webapps/lib			All JARS as above
campaign.jar contains the Applet code

I have tried all combinations of codebase / archive / code and it always
gives the dame error.

Then was a similar posting some time back, but I cannot find a reply to it.

Any help gratefully received.

View raw message