Results 1 to 2 of 2

Thread: zimlet container java applet

Hybrid View

  1. #1
    Join Date
    Feb 2014
    Posts
    2
    Rep Power
    1

    Default zimlet container java applet

    Hi everybody, I' really new in zimbra

    I'm creating a simple panel zimlet, and want to show a jsp page when I click on zimlet, the jsp page contain an java applet, but when the applet start the java console say class not found,

    Code:
    Exception: java.lang.ClassNotFoundException: myzimbra.MyApplet.class
    I'm using zdesktop with _dev directoty, I deploy my applet (MyApplet.jar) to my zd-intall-dir\jetty\webapps\zimlet\WEB-INF\lib with others jars (forms-1.3.0.jar)

    This is my jsp (html) page

    Code:
    <APPLET  
      CODE     = "myzimbra.MyApplet.class"
      NAME     = "MyApplet"
      
      ARCHIVE =  "myApplet.jar, forms-1.3.0.jar"
      WIDTH    = 400
      HEIGHT   = 300
      HSPACE   = 0
      VSPACE   = 0
      ALIGN    = middle
    >
    </APPLET>
    If i open this page out of zimbra enviroment it work's, do i have to put something in codebase applet attribute ??.

    thks

    Arm

  2. #2
    Join Date
    Jan 2009
    Posts
    369
    Rep Power
    6

    Default

    Quote Originally Posted by arm View Post
    Hi everybody, I' really new in zimbra

    I'm creating a simple panel zimlet, and want to show a jsp page when I click on zimlet, the jsp page contain an java applet, but when the applet start the java console say class not found,

    Code:
    Exception: java.lang.ClassNotFoundException: myzimbra.MyApplet.class
    I'm using zdesktop with _dev directoty, I deploy my applet (MyApplet.jar) to my zd-intall-dir\jetty\webapps\zimlet\WEB-INF\lib with others jars (forms-1.3.0.jar)

    This is my jsp (html) page

    Code:
    <APPLET  
      CODE     = "myzimbra.MyApplet.class"
      NAME     = "MyApplet"
      
      ARCHIVE =  "myApplet.jar, forms-1.3.0.jar"
      WIDTH    = 400
      HEIGHT   = 300
      HSPACE   = 0
      VSPACE   = 0
      ALIGN    = middle
    >
    </APPLET>
    If i open this page out of zimbra enviroment it work's, do i have to put something in codebase applet attribute ??.

    thks

    Arm
    Place your applet in the directory where you place your jsp, do not place it in WEB-INF directory. Notice: change it permission if neccessary.

Similar Threads

  1. Zimlet or java issue???
    By gvocom in forum Error Reports
    Replies: 0
    Last Post: 08-23-2010, 02:25 PM
  2. Applet class not found
    By jigargajjar in forum Zimlets
    Replies: 0
    Last Post: 02-18-2010, 10:16 PM
  3. Replies: 0
    Last Post: 01-12-2010, 12:42 PM
  4. Replies: 13
    Last Post: 09-25-2009, 10:02 AM
  5. Applet.jar resource
    By agnes in forum Zimlets
    Replies: 1
    Last Post: 04-22-2009, 06:16 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •