3 Replies Latest reply on Aug 15, 2004 12:04 PM by Gustavo Vinocur

    Applets in JBOSS

    Teodor Buburuzan Newbie

      I'm tring to run an Applet from one of my files deployed in webmod.war.
      I have a very simple applet(that does nothing except makes a red sqare), and a jsp file (AppletTest.jsp) in which i have this code:

      <jsp:plugin type="applet" code="MyApplet.class" width="200" height="200">

      Which directory should I put on the codebase="..." attribute so that my jsp can find the .class to open the applet.

      I have also tried with a simple html file in webmod.war but I have the same problem... I don't know which directory to put under codebase...

      MyApplet.class file in in webmod.war unde the directory WEB-INF/classes.

      If anyone has another solution of how can I run an Applet from a jsp or html in web module please post a reply.