Applet in webpage help

I created an applet in eclipse. It works fine. It had 3 classes. 1 class was the applet. The other 2 were classes that the applet used. I put them all in the same directory and when I uploaded it on the web. It shows up all white.
Im new to this applet embedding stuff. Does anyone have any clue to what the problem may be?

I figured it out....Great
I put all the files in the directory. It didn't work. You have to put them in a .jar file.You can do it either way, but hiwa's right: you have to give the right values to the
right attributes in the "applet" tag.

Similar Messages

  • Embedding Applet into Webpages

    I have created applets in Jbuilder 8 associated with a client. When the first Client applet (ClientUDP) runs it sends information to the server and opens a new panel. When I embedded the applets into a Webpage the information is not being sent and the panels aren't opening.
    Assuming this is a class path issue, I created a jar file of my project called untitled1.jar, which is the archive for the web page, but this is not working. Here is some of the HTML file.
    <applet
    codebase = "."
    code = "clientServer.ClientUDP.class"
    archive = "clientServer.untitled1.jar"
    >
    </applet>
    I'm using IE6 as my browser.
    Any suggestions would be great,
    Thanks

    Hi all. Im developing a webpage and i want to include a java applet which displays live feed from an IP Camera. I tried running the page with the applet, but it just shows this error. The class file is in the same directory as the webpage alrd. Really no idea how to solve it. :confused: This is how the error looks like.
    java.lang.NoClassDefFoundError: Camera (wrong name: javaviewer/Camera)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: Camera (wrong name: javaviewer/Camera)
    Please help!

  • JMF applet  in webpage

    Hello all
    I finally succeededin making AVReceive class work. But now I need to open it on a webpage. So I tried to convert into a java applet but I could not.
    Can any one kindly help me in this.
    Thanx all.

    >
    I am accessing a webcam from an applet embedded in a webpage using JMF 2.1. I am using JButtons using Image Icons. When i view the applet using applet viewer both the player and buttons appear fine. However when the applet is embedded in a jsp page the image JButtons don't appear at all. >That is probably because of security. Add 10 Dukes to the thread to indicate you are serious about resolving this, and I might expand on that answer.

  • Sending a file from Applet to servlet HELP me Please

    Sorry, i have the problem this is my code Applet & Servlet but it seems working asynchronously if you have some ideas please reply me i send bytes on outputstream but the inputstream of servlet receive nothing bytes but write my system.out.print on screen server:
    Applet:
    URL servletURL = new URL(codebase, "/InviaFile/servlet/Ricevi");
    HttpURLConnection urlConnection = (HttpURLConnection) servletURL.openConnection();
    urlConnection.setRequestMethod("POST");
    urlConnection.setUseCaches(false);
    urlConnection.setDoOutput(true);
    urlConnection.setDoInput(true);
    urlConnection.setAllowUserInteraction(false);
    urlConnection.setRequestProperty("Content-Type", "application/octet-stream");
    urlConnection.setRequestProperty("Content-length", String.valueOf(100));
    urlConnection.connect();
    if(urlConnection.HTTP_BAD_REQUEST == HttpURLConnection.HTTP_BAD_REQUEST){
    /*System.out.println("Cattiva Richiesta: "+urlConnection.getContentEncoding());
    System.out.println("Tipo di metodo: "+urlConnection.getRequestMethod());
    System.out.println("Tipo di Risposta: "+urlConnection.getResponseCode());
    System.out.println("Tipo di messaggio: "+urlConnection.getResponseMessage());
    System.out.println("Tipo di contenuto: "+urlConnection.getContentType());
    System.out.println("Tipo di lunghezza contenuto: "+urlConnection.getContentLength());
    System.out.println("Tipo di doinput: "+urlConnection.getDoInput());
    System.out.println("Tipo di doouput: "+urlConnection.getDoOutput());
    System.out.println("Tipo di URL: "+urlConnection.getURL());
    System.out.println("Tipo di propriet� richiesta: "+urlConnection.getRequestProperty("Content-Type"));
    System.out.println("Entra if");
    DataOutputStream dout = new DataOutputStream(urlConnection.getOutputStream());
    InputStream is = urlConnection.getInputStream();
    if(ritornaFile("C:/Ms.tif", dout))System.out.println("Finita lettura");
    dout.close();
    urlConnection.disconnect();
    System.out.println("Fine Applet");
    }catch(Exception e) { System.err.println(e.getMessage());e.printStackTrace();}
    public boolean ritornaFile(String file, OutputStream ots)throws Exception{
    FileInputStream f = null;
    try{
    f = new FileInputStream(file);
    byte[] buf = new byte[4 * 1024];
    int byteLetti;
    while((byteLetti = f.read()) != -1){ots.writeByte(buf, 0, byteLetti);ots.flush();
    while((byteLetti = f.read()) != -1){ots.write(byteLetti);ots.flush();
    System.out.println("byteLetti= "+byteLetti);
    return true;
    }catch(Exception ex){
    System.err.println(ex.getMessage());
    return false;
    }finally{
    if(f != null)f.close();
    Servlet:
    HttpSession ses = request.getSession(true);
    System.out.println("Passa servlet "+request.getMethod());
    System.out.println("Passa servlet "+ses.getId());
    ServletInputStream servletinputstream = request.getInputStream();
    DataInputStream dis = new DataInputStream(request.getInputStream());
    int c = dis.available();
    System.out.println("c="+c);
    //ServletOutputStream servletoutputstream
    //response.getOutputStream();
    response.setContentType("application/octet-stream");
    System.out.println("URI= "+request.getRequestURI());
    System.out.println("pathTranslated: "+request.getPathTranslated());
    System.out.println("RemoteUser: "+request.getRemoteUser());
    System.out.println("UserInRole: "+String.valueOf(request.isUserInRole("")));
    System.out.println("pathInfo: "+request.getPathInfo());
    System.out.println("Protocollo: "+request.getProtocol());
    System.out.println("RemoteAddr:"+request.getRemoteAddr());
    System.out.println("RemoteHost:"+request.getRemoteHost());
    System.out.println("SessionID:"+request.getRequestedSessionId());
    System.out.println("Schema:"+request.getScheme());
    System.out.println("SeesionValido:"+String.valueOf(request.isRequestedSessionIdValid()));
    System.out.println("FromURL:"+String.valueOf(request.isRequestedSessionIdFromURL()));
    int i = request.getContentLength();
    System.out.println("i: "+i);
    ritornaFile(servletinputstream, "C:"+File.separator+"Pluto.tif");
    System.out.println("GetMimeType= "+getServletContext().getMimeType("Ms.tif"));
    InputStream is = request.getInputStream();
    int in = is.available();
    System.out.println("Legge dallo stream in="+in);
    DataInputStream diss = new DataInputStream(servletinputstream);
    int ins = diss.read();
    System.out.println("Legge dallo stream ins="+ins);
    int disins = diss.available();
    System.out.println("Legge dallo stream disins="+disins);
    is.close();
    System.out.println("Fine Servlet");
    catch(Exception exception) {
    System.out.println("IOException occured in the Server: " + exception.getMessage());exception.printStackTrace();
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    /** Returns a short description of the servlet.
    public String getServletInfo() {
    return "Short description";
    public void ritornaFile(InputStream its, String fileDest )throws Exception{
    FileOutputStream f = null;
    try{
    f = new FileOutputStream(fileDest);
    byte[] buf = new byte[2 * 1024];
    int byteLetti;
    while((byteLetti = its.read()) != -1){
    f.write(buf, 0, byteLetti);
    f.flush();
    System.out.println("Byteletti="+byteLetti);
    }catch(Exception ex){
    System.err.println(ex.getMessage());
    }finally{
    if(f != null)f.close();

    Hi all,
    Can anyone help me.I am trying to send an audio file from a applet to servlet with HTTP method(no raw sockets), also the servlet shld be able to save the file on the server.Any suggestions welcome.USing audiostream class from javax.sound.sampled.
    The part of applet code which calls servlet is :
    URL url = new URL("http://" + host + "/" + context + "/servlet/UserUpdateWorkLogAudio?userid=" + userId.replace(' ', '+') + "&FileName=" + filename.replace(' ', '+'));
    URLConnection myConnection = url.openConnection();
    myConnection.setUseCaches(false);
    myConnection.setDoOutput(true);
    urlConnection.setRequestProperty("Content-Type", "application/octet-stream");
    myConnection.connect();
    out = new BufferedOutputStream(myConnection.getOutputStream());
    AudioSystem.write(audioInputStream, fileType,out); // IS THIS RIGHT APPROACH?
    ************************end of applet code**********************
    ************************servlet code******************************
    try
    {BufferedInputStream in = new BufferedInputStream(request.getInputStream());
    ????????What code shld i write here to get the audio file stream
    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(filename));
    *********************************************end***********************
    Thanks
    Joe.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Tax Calulator applet again pls help urgent

    why isn't it possible to pass a string and a double into GetResult below, i get a compilation error and right now i dunno how to proceed. GetRelief is supposed to calculate "relief" from textfields i/p and GetResult is suppose to calculate the "result" (minus "relief" from GetRelief). And is it the correct way to create an object as in calc = new Calculate(); below................any help would be greatly appreciated...
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TaxCal extends Applet implements ActionListener {
         private TextField income, age, child, parent, course, maid, pay;
         private Button b2, b3;
         private Calculate calc;
         public void init() {
                   setBackground(Color.lightGray);
                   /* Create the input boxes, and make sure that the background
                   color is white. (On some platforms, it is automatically.) */
                   income = new TextField(10);
                   Panel incomePanel = new Panel();
                   incomePanel.setLayout(new BorderLayout(2,2));
                   incomePanel.add( new Label("Input your annual income"), BorderLayout.WEST );
              incomePanel.add(income, BorderLayout.CENTER);
                   age = new TextField(2);
                   Panel agePanel = new Panel();
                   agePanel.setLayout(new BorderLayout(2,2));
                   agePanel.add( new Label("Input your age"), BorderLayout.WEST );
                   agePanel.add(age, BorderLayout.CENTER);
                   child = new TextField(2);
                   Panel childPanel = new Panel();
                   childPanel.setLayout(new BorderLayout(2,2));
                   childPanel.add( new Label("Number of children"), BorderLayout.WEST );
                   childPanel.add(child, BorderLayout.CENTER);
                   parent = new TextField(1);
                   Panel parentPanel = new Panel();
                   parentPanel.setLayout(new BorderLayout(2,2));
                   parentPanel.add( new Label("Number of parent that live with you"), BorderLayout.WEST );
                   parentPanel.add(parent, BorderLayout.CENTER);
                   course = new TextField(5);
                   Panel coursePanel = new Panel();
                   coursePanel.setLayout(new BorderLayout(2,2));
                   coursePanel.add( new Label("Course fee"), BorderLayout.WEST );
                   coursePanel.add(course, BorderLayout.CENTER);
                   maid = new TextField(5);
                   Panel maidPanel = new Panel();
                   maidPanel.setLayout(new BorderLayout(2,2));
                   maidPanel.add( new Label("Maid levy paid"), BorderLayout.WEST );
                   maidPanel.add(maid, BorderLayout.CENTER);
                   pay = new TextField(10);
                   pay.setEditable(false);
                   Panel payPanel = new Panel();
                   payPanel.setLayout(new BorderLayout(2,2));
                   payPanel.add( new Label("Please pay"), BorderLayout.WEST );
                   payPanel.add(pay, BorderLayout.CENTER);
                   Panel buttonPanel = new Panel();
                   buttonPanel.setLayout(new GridLayout(1,3));
                   Button b2 = new Button("Reset");
                   b2.addActionListener(this);     // register listener
                   buttonPanel.add(b2);
                   Button b3 = new Button("Calculate");
                   b3.addActionListener(this);     // register listener
                   buttonPanel.add(b3);
                   /* Set up the layout for the applet, using a GridLayout,
              and add all the components that have been created. */
              setLayout(new GridLayout(8,2));
                   add(incomePanel);
                   add(agePanel);
                   add(childPanel);
                   add(parentPanel);
              add(coursePanel);
              add(maidPanel);
              add(payPanel);
              add(buttonPanel);
              /* Try to give the input focus to xInput, which is
              the natural place for the user to start. */
              income.requestFocus();
              } // end init()
         public TaxCal() {
         calc = new Calculate();
         public Insets getInsets() {
    // Leave some space around the borders of the applet.
         return new Insets(2,2,2,2);
         // event handler for ActionEvent
         public void actionPerformed (ActionEvent e) {
              String s = e.getActionCommand();
              if (s.equals("Calculate"))
                   double relief = calc.GetRelief(age.getText(), child.getText(), parent.getText(), course.getText(), maid.getText());
                   double result = calc.GetResult(income.getText(), relief);
                   pay.setText(Double.toString(relief));
              else
                   income.setText("");
                   age.setText("");
                   child.setText("");
                   parent.setText("");
                   course.setText("");
                   maid.setText("");
                   pay.setText("");
    }     // end actionPerformed()
    public class Calculate
    private double result;
    private double incomeTotal;
    private double ageTotal;
    private double childTotal;
    private double parentTotal;
    private double courseTotal;
    private double maidTotal;
    private double relief;
    public Calculate()
    relief = 0.0;
    result = 0.0;
    incomeTotal = 0;
    ageTotal = 0;
    childTotal = 0;
    parentTotal = 0;
    courseTotal = 0;
    maidTotal = 0;
    public double GetResult(String theincome, Double therelief)
         incomeTotal = Double.parseDouble(theincome);
         relief = therelief;
         incomeTotal =- relief;
         if (incomeTotal <= 7500)
         result = incomeTotal * .02;
         else if (incomeTotal > 7500 && incomeTotal <= 20000)
         result = 150 + ((incomeTotal - 7500) * .05);
         else if (incomeTotal > 20000 && incomeTotal <= 35000)
         result = ((incomeTotal - 20000) * .08) + 775;
         else if (incomeTotal> 35000 && incomeTotal <= 50000)
         result = ((incomeTotal - 35000) * .12) + 1975;
         else if (incomeTotal > 50000 && incomeTotal <= 75000)
         result = ((incomeTotal - 50000) * .16) + 3775;
         else if (incomeTotal > 75000 && incomeTotal <= 100000)
         result = ((incomeTotal - 75000) * .2) + 7775;
         else if (incomeTotal > 100000 && incomeTotal <= 150000)
         result = ((incomeTotal - 100000) * .22) + 12775;
         else if (incomeTotal > 150000 && incomeTotal <= 200000)
         result = ((incomeTotal - 150000) * .23) + 23775;
         else if (incomeTotal > 200000 && incomeTotal <= 400000)
         result = ((incomeTotal - 200000) * .26) + 35275;
         else if (incomeTotal > 400000)
         result = ((incomeTotal - 400000) * .28) + 87275;
         return result;
    public double GetRelief(String theage, String thechild, String theparent, String thecourse, String themaid)
         ageTotal = Double.parseDouble(theage);
         parentTotal = Double.parseDouble(theparent);
         maidTotal = Double.parseDouble(themaid);
         childTotal = Double.parseDouble(thechild);
         courseTotal = Double.parseDouble(thecourse);
                             //determine age relief
                             if(ageTotal<55)
                             relief += 3000;
                             else if(ageTotal>=55 && ageTotal<= 59)
                             relief += 8000;
                             else
                             relief += 10000;
                             //determine children relief
                             if(childTotal<=3)
                             relief += (childTotal*2000);
                             else if(childTotal>3 && childTotal<6)
                             relief += ((childTotal-3)*500 + 6000);
                             else
                             relief += 0;
                             //determine parent relief
                             if(parentTotal == 1)
                             relief += 3000;
                             else if(parentTotal ==2)
                             relief += 6000;
                             else
                             relief += 0;
                             //determine course subsidy
                             if(courseTotal != 0 ) {
                                  if(courseTotal <= 2500)
                                  relief += courseTotal;
                                  else
                                  relief += 2500;
                             //determine maid levy
                             if(maidTotal != 0) {
                                  if(maidTotal <= 4000)
                                  relief += 2 * maidTotal;
                                  else
                                  relief += 0;
    return relief;
    } // end of class Calculate
    }      // end class TaxCal

    You're probably not getting anything to show up because in your actionPerformed() method, b3 has not been initialized.
    You declare static variables:
    Button b2, b3;
    but then in your init() method, you delare new local variables when you specify:
    Button b2 = new Button(...);
    Button b3 = new Button(...);
    Since you're declaring and initializing the new local variables, you have never set the static variables to any values. Try removing the type declaration for b2 and b3 in your init() method as follows:
    b2 = new Button(...)
    b3 = new Button(...)
    Hope this helps!

  • Excel 2004 and saving webpages - help!

    I'm working on a project where we're trying to save a large number of excel sheets as html so we can link them together in various ways. As the only person in the office who can write html, I'm stuck with it. The problem is, using the 'save as webpage' function in excel gives webpages that look rubbish and unprofessional, but we don't have the time to format each page individually to the degree I would like.
    It seems such an obvious thing to have an option where the 'save as webpage' step can be modified, or to allow users to run the sheets through a custom template when saving as html. But I can't see a way of doing that in Excel 2004.
    Can anyone tell me if there is a way to make Excel work my way, or failing that, if there's a decent shareware program or something around that will help me?
    Cheers,
    Suz
    iBook 600   Mac OS X (10.1.x)  

    Hi, Suz.
    I don't have an answer for you, but I know where you may find one.
    You might want to search or post on the "Excel" group you can find on the Microsoft Mac Support - Newsgroups page. These are Google Groups with active participation from MS Excel users, including a variety of expert users.
    Be sure to state the version of Excel you are using if you post there, as you did here.
    I don't mean to send you somewhere else, but I've found numerous answers there for folks with questions related to MS products. Accordingly, it has often proved to be the first, best place to look for answers to questions such as you are asking.
    As to freeware or shareware that may help you with this, let me also suggest that you search MacUpdate or Version Tracker. The user-submitted reviews accompanying the listings can be helpful in sorting the wheat from the chaff.
    FWIW, I've often found the results of the "Save as HTML" features of applications to be disappointing. Usually they perform only the most basic conversion and one then has to perform a good bit of tweaking to make the pages presentable.
    As a final note, if your budget will permit, you might want to look at FileMaker Pro. Data from the Excel files can easily be imported into FileMaker and FileMaker has many features for publishing databases to the Web.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Java programming applet issue newbie help

    hello
    i am a student taking an intro to OOP course using java. i have textMate and blue J as java editing environments. i have successfully managed a few lessons but now i am having trouble with applets. my applet source code will run in blue j but not in textmate and i think the reason has to do with the applet extension. first when i run the program successfully in blue jay it utilizes the sun.applet.main environment to display the applets output. but in textmate the identical code generates an error which i finally have a some information about why?
    the error in textmate reads
    :exception in thread "main" java.lang.NoSuchMethodError: main
    i am not sure whether this has to do with the import java.awt.*: or just the public void paint(Graphics g) method (code Below)
    the eventual intended output of the applet is to a web browser via an html document which calls the java applet but when i run this html document both firefox and safari display blank pages.
    i am on macpro with the latest java version - just downloaded last week
    is there some unique import statement to utilize import java.awt.*;
    import java.applet.*; in mac os or ???
    BTW the smile.gif is in the project folder with the java document
    thanks for any help
    Chapter 2: Welcome to My Day
    Programmer: rafe McDonald
    Date: November 5, 2009
    Filename: WelcomeApplet
    Purpose: This project displays a smile graphic, welcome message, the user's
    name, and the system date in an applet.
    import java.util.Date;
    import java.awt.*;
    import java.applet.*;
    public class WelcomeApplet extends Applet
    public void paint(Graphics g)
    Date currentDate = new Date(); //Date constructor
    g.drawString("Welcome to my day!",200,70);
    g.drawString("Daily planner for Rafe McDonald",200,100);
    g.drawString(currentDate.toString(),200,130);
    Image smile; //declare an Image object
    smile = getImage(getDocumentBase(), "smile.gif");
    g.drawImage(smile,10,10,this);
    setBackground(Color.cyan);
    }

    http://discussions.apple.com/thread.jspa?threadID=2226853&tstart=0
    i realized the other section of this forum is geared toward java inquiries so if anyone has some ideas please post there
    thanks

  • Applet-Adf communication help!

    Version 11.1.1.3.0
    So i have a USe case:
    Where i have a ADF serach screen..simple serach get result in table.Then from table i need to select row and click on View button.
    from View button we need to show the image which we can zoom in/out and can do other stuff.
    So on view button i want to call applet which will show the image.(there are many other reason to use applet so we have to use appplet)
    i created a jsff page on which i have applet code(Applet.jsff) like this
    applet.jsff
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:panelGroupLayout id="pgl1">
    <applet code="sni.edms.model.applet.NewApplet" height="100" width="1000"
    archive="/edmsui/adflibEDMSApplet.jar"></applet>
    </af:panelGroupLayout>
    </jsp:root>
    I have a task flow(T1) where i have jsff page with ADF Search screen(Adf.jsff) and i drag the Applet.jsff page and link the two.
    Now when i click on view button i get the applet screen and it show up correctly with correct data but with the below UI error(which display as dialog box)
    "Assertion failed:Incorrect use of ADFRichUiPeer.GetDomNodeForCommentComponent.AdfRichCommandLink"
    I know thsi error comes on incorrect use of tags but i havent use Commnd link, and its throwing link error.
    My Question is..Can we call applet code from jsff page if not then how do i call applet code from adf screen.
    if we can then whats wrong with my jsff applet page.
    Thanks..any help will be appreciated.

    Hi,
    see: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/71-adf-to-applet-communication-307672.pdf
    see: http://www.oracle.com/ocom/groups/public/@otn/documents/digitalasset/168479.jpg
    Frank

  • Big Problem in Applet-Servlet Communication-(Help)

    I wrote an method to send serialized objects from Applet to Servlet,
    the method is as following:
    private ObjectInputStream postObjects (URL servlet, Serializable objs[], String sessionID) throws Exception {
    ObjectInputStream in = null;
    ObjectOutputStream out = null;
    try{
    URLConnection con = servlet.openConnection();
    con.setDoInput(true);
    con.setDoOutput(true);
    con.setUseCaches(false);
    con.setRequestProperty("Content-Type","application/x-java-serialized-object");
    con.setAllowUserInteraction(false);
    con.setRequestProperty("Cookie", sessionID);
    out = new ObjectOutputStream(con.getOutputStream());
    int numObjects = objs.length;
    for(int x = 0; x < numObjects; x++){
    out.writeObject(objs[x]);
    out.flush();
    out.close();
    in = new ObjectInputStream(con.getInputStream());
    }catch(Exception e){
    e.printStackTrace(System.err);
    throw e;
    }finally{
    return in;
    when I call this method, I got the following error message in Applet console,
    my platform is Salaris 5.8 + iPlanet 6.0.
    java.io.EOFException
         at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2150)
         at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2619)
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:726)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:251)
         at com.shinewave.lms.core.client.ServletProxy.postObjects(ServletProxy.java:255)
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:76)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    java.lang.NullPointerException
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:77)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    java.lang.NullPointerException
         at com.shinewave.lms.core.client.ServletProxy.doInitialize(ServletProxy.java:82)
         at com.shinewave.lms.core.client.APIAdapterApplet.LMSInitialize(APIAdapterApplet.java:60)
    Please help me to solve this problem, thank you very much.

    Hi..
    Sorry abt this. But I was hoping if u could help out on this..
    I am trying to implement a applet to servlet communication...
    wherin the servlet would read data from the database... and send it back to the applet which gets displayed on the applet...
    But the problem is that the applet is not able to establish a connection with the servlet..
    I am also using another supportive class whose object is basically passed from the servlet to the applet..
    could u help me..
    below is the piece of code...
    APPLET:
    import java.net.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    public class TestApplet extends JApplet implements ActionListener
         JButton btnLoad;
         JTextField tfEmpno, tfFname, tfLname, tfSalary;
         URL url;
    private String webServerStr = null;
    private String hostName = "sandy";
    private int port = 8085;
    private String servletPath = "/jdbcTest.DBDetailsServlet";     
    public TestApplet()
         super();
    // suppress Warning Message
    getRootPane().putClientProperty"defeatSystemEventQueueCheck",Boolean.TRUE);
         public void actionPerformed(ActionEvent ae)
              if(btnLoad.getText().equals("Load"))
                   if(loadData())
                        btnLoad.setText("Save");
              else
                   btnLoad.setText("Load");
    //               saveData();
         public void init()
              setBackground(Color.pink);
              tfEmpno = new JTextField(10);
              tfFname = new JTextField(10);
              tfLname = new JTextField(10);
              tfSalary= new JTextField(10);
              JPanel panel = new JPanel();
              panel.setLayout(new FlowLayout());
              panel.add(tfEmpno);
              panel.add(tfFname);
              panel.add(tfLname);
              panel.add(tfSalary);
              getContentPane().add(panel, BorderLayout.CENTER);
              JPanel bottom = new JPanel(new FlowLayout());
              btnLoad = new JButton("Load");
              btnLoad.addActionListener(this);
              bottom.add(btnLoad);
              getContentPane().add(bottom, BorderLayout.SOUTH);
         public boolean loadData()
              try
         System.out.println("Web Server host name: " + hostName);
         webServerStr = "http://" + hostName + ":" + port + servletPath;
         System.out.println("Web String full = " + webServerStr);
                   String servletGET = webServerStr + "?"
         + URLEncoder.encode("UserOption") + "="
         + URLEncoder.encode("AppletDisplay");     
    //               url = new URL(getCodeBase(),"http://sandy:8080/servlet/jdbcTest.DBDetailsServlet");
                   System.out.println("Complete Servlet Url => " + servletGET);
                   url = new URL(servletGET);
                   URLConnection con = url.openConnection();
                   con.setUseCaches(false); // Turn off caching.
                   InputStream in = con.getInputStream();
                   System.out.println("\nsuccess ....... con.getInputStream() ");
                   ObjectInputStream ois = new ObjectInputStream(in);
                   System.out.println("\nsuccess ....... new ObjectInputStream(in) ");
                   Object object = ois.readObject();
                   System.out.println("\nGot the object from servlet...");
                   if(object != null)
                        System.out.println("\nObject NOT null ...");
                        ArrayList result = (ArrayList) object;
                        jdbcTest.EmployeeValue empval = (jdbcTest.EmployeeValue) result.get(0);
                        tfEmpno.setText(""+empval.getEmp_no());
                        tfFname.setText(empval.getFname());
                        tfLname.setText(empval.getLname());
                        tfSalary.setText(""+empval.getSalary());
                        System.out.println("\nObject processed " + result);
                        repaint();
                   return true;
              catch(Exception e)
                   e.printStackTrace();
                   System.out.println("\n\n loadData()=> E X C E P T I O N : " + e + "\n");
                   return false;               
         public void saveData()
              //yet to be implemented..
    SERVLEt:
    package jdbcTest;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class DBDetailsServlet extends HttpServlet
         public void doGet(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
              System.out.println("\nInside the doGet()\n");
              ArrayList results = getDetails();
              ObjectOutputStream oos = new ObjectOutputStream(res.getOutputStream());
              oos.writeObject(results);
         public void doPost(HttpServletRequest req,HttpServletResponse res )throws ServletException, IOException
              System.out.println("\nInside the doPost()\n");
              doGet(req,res);
         public ArrayList getDetails()
              try
                   System.out.println("\nServlet : inside GetDetails...");
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:SandyDSN","","");
                   java.sql.Statement stmt = con.createStatement();
                   System.out.println("\n Statement created..");
                   java.sql.ResultSet rs = stmt.executeQuery("SELECT * FROM EMP WHERE EMP_NO = 222");
                   System.out.println("\n Query Executed...");
                   ArrayList results = new ArrayList();
                   while(rs.next())
                        EmployeeValue empval = new EmployeeValue();
                        empval.setEmp_no(rs.getLong("EMP_NO"));
                        empval.setFname(rs.getString("FNAME"));
                        empval.setLname(rs.getString("LNAME"));
                        empval.setSalary(rs.getLong("SALARY"));
                        results.add(empval);
                   System.out.println("\n Resultset Obtained...");
                   stmt.close();
                   con.close();
                   return results;
              catch(Exception e)
                   System.out.println("Error while retreiving details....." + e);
                   return null;
         public boolean saveDetails(EmployeeValue empval)
              try
                   return true;
              catch(Exception e)
                   System.out.println("Error while updating details....." + e);
                   return false;
    The utility class EMployeeValue is as below:
    package jdbcTest;
    import java.io.*;
    class EmployeeValue implements Serializable
         private long emp_no;
         private String fname;
         private String lname;
         private long salary;
         public EmployeeValue()
              super();
         public EmployeeValue(long eno, String fn, String ln,long sal)
              super();
              setEmp_no(eno);
              setFname(fn);
              setLname(ln);
              setSalary(sal);
         public long getEmp_no()
              return emp_no;
         public java.lang.String getFname()
              return fname;
         public java.lang.String getLname()
              return lname;
         public long getSalary()
              return salary;
         public void setEmp_no(long newEmp_no)
              emp_no = newEmp_no;
         public void setFname(java.lang.String newFname)
              fname = newFname;
         public void setLname(java.lang.String newLname)
              lname = newLname;
         public void setSalary(long newSalary)
              salary = newSalary;

  • A Menu Applet Project (need help)

    The Dinner Menu Applet
    I would need help with those codes ...
    I have to write a Java applet that allows the user to make certain choices from a number of options and allows the user to pick three dinner menu items from a choice of three different groups, choosing only one item from each group. The total will change as each selection is made.
    Please send help at [email protected] (see the codes of the project at the end of that file... Have a look and help me!
    INSTRUCTIONS
    Design the menu program to include three soups, three
    entrees, and three desserts. The user should be informed to
    choose only one item from each group.
    Use the following information to create your project.
    Clam Chowder 2.79
    Vegetable soup 2.99
    Peppered Chicken Broth 2.49
    Chicken 12.79
    Fish 10.99
    Beef 14.99
    Vanilla Ice Cream 2.79
    Rice Pudding 2.99
    Cheesecake 4.29
    The user shouldn�t be able to choose more than one item
    from the same group. The item prices shouldn�t be visible to
    the user.
    When the user makes his or her first choice, the running
    total at the bottom of the applet should show the price of
    that item. As each additional item is selected, the running
    total should change to reflect the new total cost.
    The dinner menu should be 200 pixels wide &#56256;&#56437; 440 pixels
    high and be centered on the browser screen. The browser
    window should be titled �The Menu Program.�
    Use 28-point, regular face Arial for the title �Dinner Menu.�
    Use 16-point, bold face Arial for the dinner menu group titles
    and the total at the bottom of the applet. Use 14-point regular
    face Arial for individual menu items and their prices. If you
    do not have Arial, you may substitute any other sans-serif
    font in its place. Use Labels for the instructions.
    The checkbox objects will use the system default font.
    Note: Due to complexities in the way that Java handles
    numbers and rounding, your price may display more than
    two digits after the decimal point. Since most users are used
    to seeing prices displayed in dollars and cents, you�ll need to
    display the correct value.
    For this project, treat the item prices as integers. For example,
    enter the price of cheesecake as 429 instead of 4.29. That
    way, you�ll get an integer number as a result of the addition.
    Then, you�ll need to establish two new variables in place of
    the Total variable. Run the program using integers for the
    prices, instead of float variables with decimals.
    You�ll have the program perform two mathematical functions
    to get the value for the dollars and cents variables. First,
    divide the total price variable by 100. This will return a
    whole value, without the remainder. Then get the mod of the
    number versus 100, and assign this to the cents variable.
    Finally, to display the results, write the following code:
    System.out.println("Dinner Price is $ " + dollars +"." + cents);
    Please send code in notepad or wordpad to [email protected]
    Here are the expectations:
    HTML properly coded
    Java source and properly compiled class file included
    Screen layout as specified
    All menu items properly coded
    Total calculates correctly
    * MenuApplet.java
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    * @author Rulx Narcisse
         E-mail address: [email protected]
    public class MenuApplet extends java.applet.Applet implements ItemListener{
    //Variables that hold item price:
    int clamChowderPrice= 279;
    int vegetableSoupPrice= 299;
    int pepperedChickenBrothPrice= 249;
    int chickenPrice= 1279;
    int fishPrice= 1099;
    int beefPrice= 1499;
    int vanillaIceCreamPrice= 279;
    int ricePuddingPrice= 299;
    int cheeseCakePrice =429;
    int dollars;
    int cents=dollars % 100;
    //cents will hold the modulus from dollars
    Label entete=new Label("Diner Menu");
    Label intro=new Label("Please select one item from each category");
    Label intro2=new Label("your total will be displayed below");
    Label soupsTrait=new Label("Soups---------------------------");
    Label entreesTrait=new Label("Entrees---------------------------");
    Label dessertsTrait=new Label("Desserts---------------------------");
      *When the user makes his or her first choice, the running
         total (i.e. dollars) at the bottom of the applet should show the price of
         that item. As each additional item is selected, the running
         total should change to reflect the new total cost.
    Label theDinnerPriceIs=new Label("Dinner Price is $ "+dollars +"."+cents);
      *Crating face, using 28-point, regular face Arial for the title �Dinner Menu.�
         Using 16-point, bold face Arial for the dinner menu group titles
         and the total at the bottom of the applet & using 14-point regular
         face Arial for individual menu items and their prices.
    Font bigFont = new Font ("Arial", Font.PLAIN,28);
    Font bigFont2 = new Font ("Arial", Font.BOLD,16);
    Font itemFont = new Font ("Arial", Font.PLAIN,14);
    //Here are the radiobutton on the applet...
    CheckboxGroup soupsG = new CheckboxGroup();
        Checkbox cb1Soups = new Checkbox("Clam Chowder", soupsG, false);
        Checkbox cb2Soups = new Checkbox("Vegetable Soup", soupsG, true);
        Checkbox cb3Soups = new Checkbox("Peppered Chicken Broth", soupsG, false);
    CheckboxGroup entreesG = new CheckboxGroup();
        Checkbox cb1Entrees= new Checkbox("Chicken", entreesG, false);
        Checkbox cb2Entrees = new Checkbox("Fish", entreesG, true);
        Checkbox cb3Entrees = new Checkbox("Beef", entreesG, false);
    CheckboxGroup dessertsG = new CheckboxGroup();
        Checkbox cb1Desserts= new Checkbox("Vanilla Ice Cream", dessertsG, false);
        Checkbox cb2Desserts = new Checkbox("Pudding Rice", dessertsG, true);
        Checkbox cb3Desserts = new Checkbox("Cheese Cake", dessertsG, false);
        public void init() {
            entete.setFont(bigFont);
            add(entete);
            intro.setFont(itemFont);
            add(intro);
            intro2.setFont(itemFont);
            add(intro2);
            soupsTrait.setFont(bigFont2);
            add(soupsTrait);
            cb1Soups.setFont(itemFont);cb2Soups.setFont(itemFont);cb3Soups.setFont(itemFont);
            add(cb1Soups); add(cb2Soups); add(cb3Soups);
            cb1Soups.addItemListener(this);cb2Soups.addItemListener(this);cb2Soups.addItemListener(this);
            entreesTrait.setFont(bigFont2);
            add(entreesTrait);
            cb1Entrees.setFont(itemFont);cb2Entrees.setFont(itemFont);cb3Entrees.setFont(itemFont);
            add(cb1Entrees); add(cb2Entrees); add(cb3Entrees);
            cb1Entrees.addItemListener(this);cb2Entrees.addItemListener(this);cb2Entrees.addItemListener(this);
            dessertsTrait.setFont(bigFont2);
            add(dessertsTrait);
            cb1Desserts.setFont(itemFont);cb2Desserts.setFont(itemFont);cb3Desserts.setFont(itemFont);
            add(cb1Desserts); add(cb2Desserts); add(cb3Desserts);
            cb1Desserts.addItemListener(this);cb2Desserts.addItemListener(this);cb2Desserts.addItemListener(this);
            theDinnerPriceIs.setFont(bigFont2);
            add(theDinnerPriceIs);
           public void itemStateChanged(ItemEvent check)
               Checkbox soupsSelection=soupsG.getSelectedCheckbox();
               if(soupsSelection==cb1Soups)
                   dollars +=clamChowderPrice;
               if(soupsSelection==cb2Soups)
                   dollars +=vegetableSoupPrice;
               else
                   cb3Soups.setState(true);
               Checkbox entreesSelection=entreesG.getSelectedCheckbox();
               if(entreesSelection==cb1Entrees)
                   dollars +=chickenPrice;
               if(entreesSelection==cb2Entrees)
                   dollars +=fishPrice;
               else
                   cb3Entrees.setState(true);
               Checkbox dessertsSelection=dessertsG.getSelectedCheckbox();
               if(dessertsSelection==cb1Desserts)
                   dollars +=vanillaIceCreamPrice;
               if(dessertsSelection==cb2Desserts)
                   dollars +=ricePuddingPrice;
               else
                   cb3Desserts.setState(true);
                repaint();
        }

    The specific problem is that when I load he applet, the radio buttons do not work properly and any calculation is made.OK.
    I had a look at the soup radio buttons. I guess the others are similar.
    (a) First, a typo.
    cb1Soups.addItemListener(this);cb2Soups.addItemListener(this);cb2Soups.addItemListener(this);That last one should be "cb3Soups.addItemListener(this)". The peppered chicken broth was never responding to a click. It might be a good idea to write methods that remove such duplicated code.
    (b) Now down where you respond to user click you have:
    Checkbox soupsSelection=soupsG.getSelectedCheckbox();
    if(soupsSelection==cb1Soups)
        dollars +=clamChowderPrice;
    if(soupsSelection==cb2Soups)
        dollars +=vegetableSoupPrice;
    else
        cb3Soups.setState(true);What is that last bit all about? And why aren't they charged for the broth? Perhaps it should be:
    Checkbox soupsSelection=soupsG.getSelectedCheckbox();
    if(soupsSelection==cb1Soups) {
        dollars +=clamChowderPrice;
    } else if(soupsSelection==cb2Soups) {
        dollars +=vegetableSoupPrice;
    } else if(soupsSelection==cb3Soups) {
        dollars +=pepperedChickenBrothPrice;
    }Now dollars (the meal price in cents) will have the price of the soup added to it every time.
    (c) It's not enough to just calculate dollars, you also have to display it to the user. Up near the start of your code you have
    Label theDinnerPriceIs=new Label("Dinner Price is $ "+dollars +"."+cents);It's important to realise that theDinnerPriceIs will not automatically update itself to reflect changes in the dollars and cents variables. You have to do this yourself. One way would be to use the Label setText() method at the end of the itemStateChanged() method.
    (d) Finally, the way you have written itemStateChanged() you are continually adding things to dollars. Don't forget to make dollars zero at the start of this method otherwise the price will go on and on accumulating which is not what you intend.
    A general point: If you have any say in it use Swing (JApplet) rather than AWT. And remember that both Swing and AWT have forums of their own which may be where you get the best help for layout problems.

  • Applet PagePlayer noinited---Help

    Hi, When I open one training web pages, I faced some problems, showing "Applet PagePlayer noinited" in IE status hints.
    Who can help me ? Should I intall one PagePlayer ? If yes, can you provide me a URL for me download. Many Thanks
    Java Plug-in 1.5.0_05
    Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM
    User home directory = D:\Profiles\ghjv84
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class PagePlayer.class not found.
    java.lang.ClassNotFoundException: PagePlayer.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    load: class PagePlayer.class not found.
    java.lang.ClassNotFoundException: PagePlayer.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more

    Hi,
    see: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/71-adf-to-applet-communication-307672.pdf
    see: http://www.oracle.com/ocom/groups/public/@otn/documents/digitalasset/168479.jpg
    Frank

  • Applet problem plz HELP

    Hi all,
    I have a problem when I am trying to run a jar file from an applet. The jar is for remote desktop application. Jrdp.jar.
    And the Exception is���.
    Exception in thread "Thread-6" java.security.AccessControlException: access denied (java.util.PropertyPermission gnu.posixly_correct read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at gnu.getopt.Getopt.<init>(Getopt.java:617)
    at gnu.getopt.Getopt.<init>(Getopt.java:581)
    at net.propero.rdp.Rdesktop.main(Rdesktop.java:290)
    at net.propero.rdp.applet.RdpThread.run(RdpApplet.java:190)
    can any one suggest me what I have to do???? Plz give your valuable suggestion in that matter. Should I have to do any thing in java.policy file. In that case what would be the syntax and what have allow. If possible plz help me out.
    Thanking you,
    With regards
    Shibaji Sabyal

    Try googling on how to sign your applet. The error you're getting can usually be solved by signing it.

  • Applet problem plz help me

    Hi all of you
    i have a very big issue.i create a news ticker in the applet that is running fin but when i m using same file in a web page 2 times b/c its news ticker my applet leave the site after 2 hours.that means applet leave the page & comes on the top screen.i dont know waht is the solution plz help me
    can any one help me plz urgent..
    rakesh.

    What does "b/c" mean?

  • Slow download of large applet jars - please help!

    We have a large applet (7 meg plus several meg more
    in 3rd party libraries) which take too long to download
    under slow connections (e.g. wireless VPNs). We cannot
    depend on browser/java-plugin cache to speed things up
    because users clear caches often. Our market will not consider
    an "installed application" as an alternative. There is now a political
    effort where I work to throw out lots of excellent Java technology
    because of this.
    Here is what I need:
    * Break our code into several smaller jars and initially
    download just one small applet jar that logs a user into
    our service.
    * Treat all the rest of the jars as portions of a "plug-in", which
    is downloaded after that, as needed, and installed on the client
    machine outside of browser/plugin cache.
    * The main small applet code would "install the plugin" as needed
    and call into these installed jar files to do all the rest of it's work
    * The jars that are part of this "plug-in" would have their own smart
    update mechanism so only the portions changed in a new release
    need to be downloaded - implemented apart from the Java plugin
    cache.
    Yes, the plugin concept is largely user perception, but in our market
    it is unavoidable. If the first small piece loads and runs quicker, then
    the installation of a "plugin" after that may be more tolerable. And the
    downloaded components won't get lost by clearing caches.
    If anyone has ideas on how to do this, please help. Otherwise a lot
    of really good Java technology will go down the drain for largely
    political reasons. I need a good technical solution for this.
    Thanks,
    /Mark

    Another point: we need the first small jar file to download
    and start running without the other jar files. The other jar files
    need to then be downloaded on-demand and/or in the background
    with good user feedback (e.g. progress bar) - giving the perception
    to the user of "components of a plug-in" being installed. So we'd
    need to invent some deferred-fetching stuff.
    What users really don't like is waiting a long time for EVERYTHING
    to download and nothing has actually started to run. It doesn't seem
    like the Java plug-in alone will get us to that point.
    /Mark

  • Having trouble running applets..Pls help

    I have been playing with installing, reinstalling various JREs and now none of the applets won't run. If anyone has an idea, please let me know. Here's the log from console. It looks like it is able to download, but unable to find class files. The website I visited was http://www.cmol.nbi.dk/models/epitrans/transcript.html, but it does not matter as I see the same error of class not found.
    Java Plug-in 1.6.0_07
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\MYNAME
    network: Loading user-defined proxy configuration ...
    network: Proxy list: http=<REMOVED>
    network: Proxy override: null
    network: Done.
    network: Loading manual proxy configuration ...
    network: Done.
    network: Proxy Configuration: Manual Configuration
    Proxy: http=<REMOVED>
    Proxy Overrides:
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1ded0fd, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@19616c7
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: completed perf rollup
    network: Cache entry not found [url: http://www.cmol.nbi.dk/models/epitrans/transcript.class, version: null]
    network: Connecting http://www.cmol.nbi.dk/models/epitrans/transcript.class with proxy=HTTP @ <REMOVED>
    network: Connecting http://www.cmol.nbi.dk/models/epitrans/transcript.class with cookie "__utma=37012018.3194523985250716000.1224518413.1224523764.1224526893.4; __utmz=37012018.1224518413.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=37012018.2.10.1224526893"
    network: Cache entry not found [url: http://www.cmol.nbi.dk/models/epitrans/transcript/class.class, version: null]
    network: Connecting http://www.cmol.nbi.dk/models/epitrans/transcript/class.class with proxy=HTTP @ <REMOVED>
    network: Connecting http://www.cmol.nbi.dk/models/epitrans/transcript/class.class with cookie "__utma=37012018.3194523985250716000.1224518413.1224523764.1224526893.4; __utmz=37012018.1224518413.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=37012018.2.10.1224526893"
    load: class transcript.class not found.
    java.lang.ClassNotFoundException: transcript.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.ClassNotFoundException: transcript.class
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@19616c7
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1ded0fd, refcount=0
    basic: Caching classloader: sun.plugin.ClassLoaderInfo@1ded0fd
    basic: Current classloader cache size: 1
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Joined applet thread ...
    basic: Quiting applet ...

    Check your server logs. Check to confirm that the request for transcript.class came through. If so, check to see the response code, bytes sent, and check the error log to see if there were any errors. It would also be good to check the web server configuration to see whether it's configured to properly send .class files; in particular check to see the mime type it uses for that file. You can and should also use curl or the like to see if you can download the .class file through the web server properly.

Maybe you are looking for