Results 1 to 3 of 3
  1. #1
    rafzio4 is offline Member
    Join Date
    Sep 2010
    Rep Power

    Default launching applet via jsp


    On this forum I've found an old thread with following snippet

    <jsp:plugin type="applet"

    <jsp:param name="message" value="Hello, world"/>
    <jsp:param name="action" value="<%=AppletAction%>"/>

    <p> unable to start plugin </p>

    I tried to launch my applet with this code but firefox asks me to install plugin (JRE, but it is installed), Internet Explorer throws exception MyPanel.class classnotfound. What's wrong?

    with regards

    Rafal Ziiolkowski

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    MyPanel.class classnotfound.
    The browser is looking for a file named: MyPanel.class.class
    Try removing the .class from the end of the code= attribute

    If you continue to get errors, please copy and paste here the full content of the browser's java console

  3. #3
    rafzio4 is offline Member
    Join Date
    Sep 2010
    Rep Power


    Thanks for answer. Codebase parameter was lacking. Now in Internet Explorer my applet is running correctly, but Firefox still prompts me to install plugin for "type="application/x-java-applet". Is there another way to dynamically generate page that starts an applet?

Similar Threads

  1. launching .rm file outside java
    By nonboyx in forum Threads and Synchronization
    Replies: 2
    Last Post: 09-28-2009, 07:40 PM
  2. Problem launching Java applet
    By jacatone in forum Java Applets
    Replies: 3
    Last Post: 01-19-2009, 11:56 PM
  3. launching Jframe from text field
    By crunchymonkey in forum AWT / Swing
    Replies: 4
    Last Post: 10-15-2008, 02:50 AM
  4. Launching applications without an IDE
    By this_is_phil in forum New To Java
    Replies: 6
    Last Post: 05-24-2008, 07:54 AM
  5. Launching Applet from a JSP page
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-31-2008, 12:53 PM

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