Typically you would put the applet class in a jar in your war's lib directory.

You could add a location to the ear manifest.mf Class-Path. However, that has a 
finicky and odd format and is best reserved for use when an ejb ear jar must share a  
jar with the web app.

Michael Hustler wrote:

> Hi,
>
> I realize this is not exactly related to JBoss, but I'm hoping someone can
> help me.
>
> I am trying to bundle an applet with my EAR.  The JSP source that calls the
> applet is located in jsp/test/jspTest.jsp and contains: (I have removed
> formatting stuff etc)
>         <jsp:plugin
>            type="applet"
>            code="HelloSwingApplet.class"
>            codebase="."
>            jreversion="1.3"
>         </jsp:plugin>
>
> the problem is with the codebase variable I have found the following
> locations for the class work:
>         .
>         ..
>         ../..
>         classes
>         /theRoot/jsp/test (where "theRoot" is my application context-root
> However if I put the class anywhere other than this 'jsp' path, the class is
> not found.  I have tried using relative paths etc.
>
> For example, "/theRoot/applets" would be usefull or
> "/theRoot/WEB-INF/classes" would be better.
>
> Does anyone know why I cannot traverse a different path?
>
> thanks!
> mike.
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

--
Fred Loney
Spirited Software, Inc.
[EMAIL PROTECTED]



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to