I have the following file structure...
MyApp.war\
WEB-INF\
classes\
com\
blah\
BlahApplet.class
my.jsp
I am using Jboss.
Anyways, in "my.jsp" I have...
<jsp:plugin name="Blah"
type="applet"
code="com.blah.BlahApplet.class"
width="100"
height="100"
codebase="WEB-INF/classes"
archive="OtherJars/some.jar">
</jsp:plugin>
I have tried changing codebase to be "."......but I still get a
ClassNotFoundException "com.blah.BlahApplet.class"
what I am missing here.
Andrew Thompson - 21 Mar 2007 13:30 GMT
> I have the following file structure...
>
[quoted text clipped - 4 lines]
> blah\
> BlahApplet.class
Resources in WEB-INF will not be accessible
to loading by browsers. Class files for applets
must exist within the 'publicly browsable'
area of the server.
It is also a good idea to jar the applet classes.
Andrew T.