Java Applet in ASP.

Is it possible to embed a java applet in asp?
If so would it be possible to use a java applet to encode a string of text to be sent to a database?

Any idea where I could find examples of embeding a
java applet in asp. where the java applet will be
encoding the text being sent to the server!
Any solutions?What do you mean by "encoding the text being sent to the server"?
Do you mean that you want the applet to communicate directly with the web server?
Just use HttpURLConnections.
The ASP-ness shouldn't make a lot of difference as far as the applet is concerned.

Similar Messages

  • General doubt about devices and java applets

    I have one general doubt abt devices.
    Do all devices come with an SDK so that any language can interact with them?.
    Whats does it mean if i say that i need to build a CAB file for the devices
    and use them in my html object tag.
    Can programming languages like java(applets) or asp interact with devices
    once if we specify the classid and the cab file location(codebase)

    Let me make it more clear
    What i need is if we r using an ActiveX Component then we pack the .ocx and inf file into a cab file and give the location of the CAb file in the codebase attribute of object tag.
    When the browser renders the page, it will look into the classid attribute of object tag to see whether there is an entry in registry if not it will go to the location specified in the codebase and get it registered locally.
    As you know ActiveX works on windows.
    I want to implement the same thing in a platform independent way.
    So i chose java applets.
    Now i don't know what to do in this codebase part.
    i need to install the device driver files and all from the server once a person view the web page.
    when we use activex the classid field represents the device's entry but when we use applets thats the version of java being installed.
    Can any one suggest an idea to move.

  • Can Java Applet Call the ASP Page

    Hi,
    I would like to know whether the Java Applet can call the ASP page.
    If it can be done, how does the Java Applet get the value from ASP page?
    Please provide me some running example.
    Thanks.

    I would like to know whether the Java Applet can
    an call the ASP page.Something like:
    AppletContext.showDocument(new URL("http://wherever/myPage.asp"), "_blank");
    how does the Java Applet get the value from ASP page?What?
    Please provide me some running example.Nope.

  • Java Applet to Access ASP Info in Proxy server Environment

    I Have a Java Applet on a Web server outside and when I access the
    applet in my corporate office which has a ProxyServer I get "UnKnownHost Exception".
    I did used the "System.getProperties" methods giving the Proxy information and can pass through the Proxy Server.But that is not what I want,The Applet should get through
    the Proxy server and get the response from the ASP without using the "System.getProperties".
    IS THERE ANY WAY TO GET THE INFO. OF PROXY SERVER FROM THE CLIENT MACHINE ON WHICH THE APPLET RESIDES(PROXY HOSTNAME:, PROXY PORT)OR FROM THE BROWSER (IE/NETSCAPE)CAUSE THEY STORE THE PROXY INFO INTERNALLY--WHERE??? AND HOW DO I GET THAT?
    Thanks in Advance

    If you are using the Microsoft VM, and your applet is signed, you can use MS security to query the registry for the proxy server info.
    For example:
    com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.REGISTRY);
    com.ms.lang.RegKey key = new com.ms.lang.RegKey(com.ms.lang.RegKey.getRootKey(
      com.ms.lang.RegKey.USER_ROOT,
      "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings",
      com.ms.lang.RegKey.KEYOPEN_READ);
    String proxyServer = key.getStringValue("ProxyServer");However, if your client is using the Java plugin, this will not work. The Java Plugin loads the proxy server information based on the browser preferences, but I haven't figured out how to retrieve that proxy information from the Plugin itself. Sometimes the javaplugin.proxy.auto.url system property is null, even if the browser (MSIE) is configured to use an auto-configuration script/url for the proxy server configuration. I can see in the Java Console that the plugin knows the auto-config url.
    Even if javaplugin.proxy.auto.url is not null, I don't know how to call the javascript function at that URL from within the applet to get the proxy server host name and port.
    Does anyone know how to get the proxy information from the plugin?

  • How to update content of a file on server using a Java Applet?

    Hi,
    I'm new to Java, and I have a task now to overwrite a text file on a server using an applet. I have written a piece of code which compiles but doesn't work. Can you please take a look at the code or give me another way to do it?
    Thanks.
    Code:
    import java.applet.Applet;
    import java.io.*;
    import java.net.*;
    public class test2 extends Applet{
    public void init() {
    StringBuffer buf = new StringBuffer();
    try {
         String output = "this is some string";
         URL aUrl = new URL (getCodeBase().toString() + "test.txt");
         System.out.println(aUrl);
         URLConnection con = aUrl.openConnection();
         con.setDoOutput(true);
         PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(con.getOutputStream())));
         out.println(output);
         out.close();
    catch (MalformedURLException mue) {
         System.out.println("improper url");
         mue.printStackTrace();
    catch (IOException e) {
         System.out.println("io exception");
         e.printStackTrace();
    }

    Ram.ViSolve wrote:
    869975 wrote:
    Thanks. I knew there would be a security issue, but I do not have sufficient knowledge to get around it. If you have a reference how to configure a server please post it here.You need to create Signed Applet. Because normally applets have some restriction to access the files in the client machine. Signed applets overrides the restriction.
    To know more, Read [url http://192.9.162.55/developer/onlineTraining/Programming/JDCBook/signed.html]Signed Applet
    No. Our OP wants to write to the server, not to the client! And to achieve this from an applet, you don't need it signed, iff the server is the machine from where the applet was downloaded in the first place. You only need to use a mechanism that allows you to write to servers, which HTTP is not. FTP, on the other hand, if setup properly can do it. So instead of trying to write using an HttpURLConnection (OP's attempt), you would use an FTP client library. FTP here is just an example and probably not the best way. Another option is to use some servlet or PHP or ASP on the server side and the applet will sumbmit the changes to that code on the server, which in turn will write to the file. The idea is that you need some 'partner code' on the server, be it the FTP server or the servlet/PHP/ASP code. None of this requires the applet to be signed.

  • Clickable/Linked Text in Java Applet

    Hi,
    I have always liked this tool http://link-verify.sourceforge.net/index.en.html and have always wanted to modify it to make the "referer" clickable so that I could easily click to link to the page that had the broken link more easily.
    The source code is available and well with the hard economic times I have time to finally modify this to work how I would like.
    Can anyone tell me how I would go about accomplishing this? I am a seasoned ASP.NET programmer and understand the overall logic, etc... It is just the Java syntax that I am missing.
    Basically I can discern that in source code, LinkFrame.java to be exact on line 308 the "referreeP" panel is being populated with a refL=new List(), where refL is a List that is populated as each link is processed as the applet runs.
    How can I make each of those items in the refL list clickable is my primary question for you all. Do I have to use some sort of listener on each item in the list, is that even the right approach to take.
    Any and all thoughts appreciated!
    PS - I want to shout out to Ralf Wiebicke for creating this wonderful tool, it has been a wonderful developer tool for me over the years.

    >
    Basically I can discern that in source code, LinkFrame.java to be exact on line 308 the "referreeP" panel is being populated with a refL=new List(), where refL is a List that is populated as each link is processed as the applet runs.
    How can I make each of those items in the refL list clickable is my primary question for you all. >Questions usually end with a question mark. Where is yours?
    If you check the JavaDocs for List, you will notice it has methods [addActionListener(ActionListener|http://java.sun.com/javase/6/docs/api/java/awt/List.html#addActionListener(java.awt.event.ActionListener)] ) and [addItemListener(ItemListener)|http://java.sun.com/javase/6/docs/api/java/awt/List.html#addItemListener(java.awt.event.ItemListener)]. Either of those listeners will detect actions/selections on the List.
    As for showing the links, look to [AppletContext.showDocument(URL)|http://java.sun.com/javase/6/docs/api/java/applet/AppletContext.html#showDocument(java.net.URL)].
    As an aside, the AWT widgets such as List are very old-hat. If you wanted to take on a bigger upgrade, you might convert the app. to use Swing.

  • Newbie: Is the CMS output HTML or Java applets?

    Hi!
    I am looking for what software to buy: Microsoft or Oracle.
    In that regard, I see that Java is the development language. Does this mean that the web-interface for clients is based on Java applets, or does the Java-application just generate HTML-code like asp.NET, php and similar server-side languages?
    Thanks!

    The old Oracle 9iFS web interface was based on Java and JSP, and as such, was an HTML-based interface. It did not use applets.
    The new Oracle CMSDK will include a web starter application sample (with source code) also based on Java and JSP, which is also an HTML-based interface that does not use applets.
    The CMSDK is a development platform, and you could write a web interface based on Java applets if you wanted to, or based on HTML technologies such as servlets (J2EE) or JSP. You can also write standalone client software in any language that communicates with the CMSDK server using a protocol, such as HTTP. You may define your own protocol and write your own protocol server (in Java), or you may use an existing protocol, like WebDAV/HTTP.
    See the CMSDK developer's guide for more information.

  • Thanksgiving Challenge - ListenUp Java Applet integration

    For those that like a Challenge... I came across this Java
    Applet that appears to be quite powerful to add recording and
    playing of voice audio files to a website:
    http://www.javasonics.com/downloads/
    I have not been successful in writing the coldfusion code yet
    that will read the information that is passed from this Java Applet
    with respect to sound file (wav), file name, and other fields that
    are in the form when created.
    This is the format of the use of the Applet that I would like
    to get working on the site:
    http://www.javasonics.com/listenup/examples/use_text_fields.html
    I look forward to anyone that can get this code working and
    how you did it with ColdFusion.
    Thanks,
    Tom
    [email protected]

    When I run their PHP version that works on a Linux System and
    the Java Applet debugger on this is the result from the time the
    file is handed off from the Java Applet to the PHP Code.
    Can anyone tell if the file is actually being written to the
    server then PHP is reading it from the server or is it just being
    written to memory and PHP is reading a variable or memory block for
    this data?
    ListenUp: 49.081, sendRecordedMessage(message_12345.wav)
    ListenUp: 49.091, sendRecordedMessage: upload
    message_12345.wav
    ListenUp: 49.101, start upload, freeMem = 3535456, totalMem =
    5640192
    ListenUp: 49.431, got compressed image, freeMem = 3453040,
    totalMem = 5640192
    ListenUp: 49.671, got MIME data, freeMem = 3387064, totalMem
    = 5640192
    ListenUp: 49.902, MultipartFormDataUploader: POST size =
    15733
    ListenUp: 49.902, parseStatusLine: HTTP/1.1 100 Continue, len
    21
    HTTP/1.1 200 OK
    Cache-Control: private
    Connection: close
    Date: Thu, 27 Nov 2008 18:38:07 GMT
    Content-Type: text/plain
    Server: Microsoft-IIS/6.0
    X-Powered-By: PHP/4.4.1
    X-Powered-By: ASP.NET
    <param name=userfile>
    raw_name = message_12345.wav
    name = message_12345.wav
    type = audio/wav
    size = 15420
    Upload dir = ../uploads
    duration = 2.6006349206349206
    SUCCESS - message_12345.wav uploaded.
    ListenUp: 50.332, DynamicMemoryBuffer: deleting array.
    ListenUp: 50.332, finished upload, freeMem = 3487480,
    totalMem = 5640192

  • Java applet freeze completly browser

    Hi there
    Ive created a smalle board game in an ASP / Javascript page. The game is multiplayer and i connect everybody via an java applet to a java server.
    Well, it look like this :
    ASP / Javascript --> Applet --> JavaServer --> Applet --> ASP / javascript
    The game is just fine and completly functionnal. The problem is : We just brought in some video for the players who have Webcams. And those video freeze when the applet is waiting a response from the server. Is there anyway that the applet does not freeze the whole browser so that the video continu playing even if the game is waiting?
    the main window contain 2 sections, �video & chat� and the game. The game containt a few frames with one of them containing the applet. In the java applet, im using BufferedReader and PrintWriter with AppletSocket to communicate with the server.
    Im not sure if i have made myself clear, if not, tell me, ill try to make it clearer.
    Thanks in advance
    Marc
    P.S. sorry for my english

    There maybe some code will help most of you to understand better my problem.
    Here's the function in my asp pages that wait for the applet response.
    function AttendreReponse()
         AppletConnect.Recevoir();
         GererRecevoir();
    }The javascript function 'GererRecevoir()' get the code that was sent by the server, analyse it and then, do run the proper function so the game can go on normally..
    And here's the java function 'Recevoir()' in the applet
    public void Recevoir()
      // String received from the server
      String fromServer = "";
      this.paramTransaction = "";
      this.codeTransaction ="";
      try{
        // Reads the string received
        fromServer = this.in.readLine();
        if(fromServer != null)
          this.codeTransaction = fromServer.substring(0,2);
          if(fromServer.length() > 2){
            this.paramTransaction = fromServer.substring(2); //retrieve the 2 next ^^
      // Applet dosent receive anything anymore from the server
      catch (IOException e){
        System.out.println("Le serveur n'est plus en fonction");
        System.exit(1);
    }So the main problem is that the applet freeze the whole window then ge gets to : fromServer = this.in.readLine();
    He wait until he get a response or untill he timeout.
    What I would like, is that the applet does not freeze the whole window while waiting since videoconference, chatting and sound arent very usefull if you can use them 3/4 of the time.
    I hope this helped you to understand a little bit more.
    Thanks again
    Marc

  • Rewriting java applet parameters

    I am attempting to get a java applet to work through the portal. Of
    course it
    does not work "out of the box" The applet is a menuing applet and it
    gets is
    text for the menu options (and the associated links) from the applet
    parameters. I have read the documentation for this and, in typical Portal
    Server documentation fashion, it has been less than helpful.
    Here are the details: The asp page that loads the applet is loaded from
    /menu/menu.asp Here is the HTML that loads applet and sets some of the
    parameters:
    <td><APPLET name='1' code='imgMenu.class'
    codebase='class/'height='17' width='124' id=Applet1>
    <param name='xloc' value='0'>
    <param name='yloc' value='17'>
    <param name='upimage' value='/menu/images/bbusinessunit.gif'>
    <param name='placement' value='right'>
    <param name="item1" value="0|ACT - Alaska Consolidated Team">
    <param name="item2" value="1|ACT Home">
    <param name="URL2" value="http://alaska.somewhere.com/act|_top">
    <param name="item3" value="1|ACT Badami">
    <param name="URL3" value="http://alaska.somewhere.com/cns_badami|_top">
    <param name="item4" value="1|ACT Endicott">
    I configured the rewriter like this:
    /menu/menu.asp imgMenu.class upimage
    /menu/menu.asp imgMenu.class URL*
    so that the upimage parameter would be rewritten as well ad the URL*
    parameters (there are URL1 all the way to URL53). This does not work.
    Has anyone gotten the Java applet paremeters rewriting working? If so,
    what I am I missing?
    Kent
    "For everything there is a season, and a time for every matter
    under heaven: ... a time to love, and a time to hate; a time
    for war, and a time for peace."
    -- Ecclesiastes 3:1,8

    sig and J.C. Westin-
    I used the Adobe Flash UNinstaller, and then installed Adobe Flash Player v10.0.12.10. No improvement/it did not correct the problem. Power E*Trade Pro (a Java Applet) still won't start properly (since Apple Software Update installed Java Release 7).
    I even did all the Repair Permissions steps before and after Flash UNinstal/reinstall (suggested by J.C. Westin; even though they did seem somewhat excessive; Note: all permissions were set properly before installing; Permissions DID need repair AFTER installing Flash; guess that Adobe doesn't get the permissions right in it's own installer!).
    To be honest, I did not really place much hope in solving the problem via an update to a BETA version of Flash. The problem occurred when I updated Java (per Apple's Software Update), not when doing anything with Flash. More to the point, I don't believe the Java applet that's having problems now uses Flash at all. Placing hope in a Flash BETA seemed to me like being told to replace my brake fluid after complaining the engine wasn't running.
    I'm (still) looking for a (non-draconian) way of reverting back to Java Release 6. Someone has to have some steps for trashing specific files/binaries to Remove Java Release 7, then installing the full Java Release 6 anew. Please? Anyone? Trashing the entire OS then performing a clean install is a huge amount of work. I just need to trash Java Release 7.
    Thanks in advance to anyone who can help here.

  • Upload Images java applet

    Hello,
    We are trying to create a java applet that will be hosted in an ASP .NET-based web application, to help a user select an image file from the client computer (such as jpg, gif or another supported image type). After that we want to do jpeg-encode the image on the client side (within the applet) and upload the result to the server.
    After using FileDialog's show() method to display the Open dialog and allow the user select the image file, we try to get the image with getImage("file://" + selectedDirectory + selectedFile).
    The problem is that the applet cannot (by default) read the image: getImage throws a AccessControlException with denying SocketPermission.
    We tried to sign the applet by using jarsigner with a certificate generated with keygen (so with an unofficial certificat), for tests purposes only. However, even when the applet's jar is signed, the same exception is thrown and the dialog asking the user whether or not he or she would allow this applet to run (since it was signed with an unoficial certificate) does NOT appear, as we expected.
    One more thing (may not be related): When removing the Name=... attribute from the APPLET tag (and only keeping class="the.class" and archive="the.jar") the applet won't load unless the HTML page is open directly from Windows Explorer (it won't load when load as http://localhost/testpage.htm).
    Thanks for any suggestions you may have.

    However, even when the applet's jar is signed, the same exception is thrown ...you must have done something wrong, try doprivileged if your code is called by untrusted code
    like javascript.
    You might try non depreciated html and have a go at the htmlconverter in the jdk bin directory to
    convert your html pages.
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and last post for the java class file using doprivileged
    Uploading using multipart/form-data:
    http://forum.java.sun.com/thread.jspa?threadID=530445&tstart=270
    Still problems?
    A Full trace might help us out:
    http://forum.java.sun.com/thread.jspa?threadID=656028

  • Industry use for java applets?

    I have been writing an applet for my fantasy football league that uses a mysql database. I am doing this to learn java. My counselor from NC State referred me to some guy looking for a web programmer. He called me up and I was able to get him to come over to the house just a minute ago. His company wanted a website to be used only by his employees as they called customers and asked if they had any metal cutting equipment they wanted to sell or buy.
    He wasnt very computer savy but insisted the site be done with ASP or.NET.
    My question is this....
    Why would a java applet not suffice for this problem? I even offered to do it free for something to put on my resume(maybe this was my mistake). I am planning on learning JSP/J2EE very soon as I am almost finished my my applet.
    I am just wondering what would be the problem with doing this as an applet.
    I told him I could do it in a week as I know I could. Why do companies insist on using technologies they dont really need? Or am I not seeing something here? Any feedback appreciated...
    [email protected]

    Companies insist on using technologies that they don't really need for three reasons:
    1) (a good reason) They've already paid for some equipment or licenses and want to exploit those purchases. Introducing a new technology would require new expenditures. (This isn't applicable if the new technologies are free, of course.)
    2) (a good reason) Their current staff already know a particular technology, and so they insist on doing new work in that technology to reduce maintenance issues. If everyone at the company knows .Net and you do something in J2EE, then in the future any maintenance would require either training, or hiring an outside consultant to do the maintenance. This costs money.
    3) (the bad, but sadly most common reason) They're stupid. They read a sales pitch from Microsoft that says "J2EE bad, .Net good" and they believe it. Or they just love everything from Microsoft, because, gosh, doesn't everyone? Or they learn a tiny bit of information (".Net can be used to do things kind of like this") and refuse to consider anything else because that would reveal the tinyness of their knowledge.
    Though it's not clear to me from your description whether applets are the best solution either. Why does he need a web site at all for this? What will the application do? Why not use C++ or Flash/Actionscript, for that matter?

  • Portal SSO to a Java Applet

    Hello,
    I have a customer that is looking to set up SSO with an application that uses a Java Applet as its login screen to the app.
    Any advice on how this can be set up. SSO via External Application doesn't seem to work since it doesn't use a GET or POST method.
    Thank You!
    Padmini

    An applet (with normal security setup) can only open up socket connections to the host from whence the applet came. Sounds like your applet is trying to talk to port 5000 on the client's box. Can't do that, unless:
    a) The client's box is the server (which is the case under your first scenario)
    b) The applet is signed or otherwise set up to be "trusted" that it doesn't contain harmful code.
    The security policy is there for a reason. I, for example, wouldn't want to stumble across some rogue applet out on the internet which then tries to open up socket connections to things on my corporate intranet or local machine -- unless I KNEW it was going to do that (I "trust" it).

  • Can I save as pdf when printing from a Java applet on a webpage in Safari?

    I am trying to use a webpage that is running a Java applet. A dialog comes up that asks me, "Do you want to run this application?" The dialog also says, "This application will run with limited access that is intended to protect your computer and personal information." I select "Run". The applet generates an image I want to print.  There is a "Print" button on the applet.  I select "Print". A Security Warning dialog comes up that says, "The applet has requested access to the printer. Do you want to allow this action?" I select "OK".  The Print dialog comes up.  I choose the PDF button in the lower left corner. I choose "Save as PDF...". A second Print dialog comes up.  I input a title in the Save As box.  I choose Desktop in the Where box.  I do not change anything else and select the "Save" button. A dialog appears that says, "Print Error while printing." There is an icon with paper, a pencil, a ruler and a paintbrush on the dialog. 
    Is this an issue with Apple and Java security?  Does "run with limited access" mean I can't print and save as PDF? Should I upgrade to Mavericks?  It seems like others have not been happy with Mavericks and have had problems saving as PDF with Mavericks. How do I let Apple know about this error?  The error dialog is useless. 
    I am on a Mac running OS X 10.8.5 and Safari 6.1.2.  My Java version is 7 update 51.
    What other information can I provide to help solve the problem (if it can be solved)?
    Thank you for your help!

    Correction I would like to save as PDF/A-1b
    for archiving.
    http://www.adobe.com/enterprise/standards/pdfa/

  • Problem Launching Java Applet with Plug-in: Version 1.4.2_01

    Hello out there:
    I recently installed j2re-1.4.2_01 on my home computer but have been unable to access Web sites emmploying JAva applets. The following is an email exchange with Jeff Hall of Lowell Observatory, manager of an educational site hosted by Lowell, trying to resolve my problem. The messages are better understood if read in reverse order.
    I'm hoping that someone will recognize the source of my problem and can recommmend a solution. I would appreciate any help offered.
    Thanks,
    Mike Coucke
    Hi Jeff:
    Well, I guess the problem lies with me somewhere. Here's my answer/status to your questions/suggestions:
    1) I'm using MS Windows Me version 4.90.3000
    2) I do have the directory C:\Windows\.jpi_cache\jar\, but the only thing in it is an empty folder labeled "1.0". The file LP.jar does not exist anywhere on my hard drive.
    3) I tried several game sites that utilized Java applets and got the same results: the Java cup in the upper left corner followed a few seconds later by the red "X". So, evidently the problem is somewhere on my end.
    I'm going to post our email exchanges in a Java Users Forum managed by Sun to see if anyone out there can solve my problem. However, if you have any more suggestions, I'll be glad to try them.
    Thanks for the help.
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: "Jeffrey Hall" <[email protected]>
    To: "'Mike Coucke'" <[email protected]>
    Sent: Friday, September 05, 2003 1:02 PM
    Subject: RE: Registration with Lowell Education Online
    Mike,
    Rats! What version of Windows are you using? It's a little strange to
    see the user directory set to C:\Windows; if you're using XP, I'd expect
    it to be something like C:\Documents and Settings\Mike Coucke. In any
    event, the output that is of concern is these two lines:
    java.lang.ClassNotFoundException: LPRemote.class
    Caused by: java.net.UnknownHostException: proxy
    It looks like your browser is not finding our server's IP when it comes
    time to download the necessary Java code.
    LPRemote.class is the fundamental code that runs LOPARC, and your
    browser should be downloading it automatically when you click connect.
    LPRemote.class is stored along with a bunch of other classes in a file
    called "LP.jar" that you download from our server. So, if you go to C:
    in Windows Explorer and do a file search for LP.jar, you should find it.
    On my machine, it's stored in a directory called ".jpi_cache\jar\" in my
    user home directory. Let me know if you have this file, or the
    jpi-cache directory.
    One other thing you might try is going to a different site that you know
    uses Java applets -- I think some of the online game rooms at Yahoo use
    Java. See if other sites that use Java load correctly. Then we'll know
    if it's our server specifically, or a more general problem on your end.
    Jeff Hall
    Lowell Observatory
    Hello Jeff:
    I still have the Java "blues". I followed your instructions, but am still unable to launch a LOPARC session. After an initial failure, I uninstalled all three Java versions I had (1.4.0, 1.4.1, 1.4.2), then reinstalled 1.4.2_01 from the Sun website.
    Now, when I try to launch LOPARC, I initially get a blank window with the Java cup in the upper left corner. After about 20 seconds, the cup changes to a red "X". During those 20 seconds, the following appear in the IE message bar at the bottom of the window: "Applet LPRemote notinited" (their spelling) which changes to "Loading Java Applet Failed..." when the red "X" appears.
    Following is a copy of the log from my Java Console during all of this:
    Java(TM) Plug-in: Version 1.4.2_01
    Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
    User home directory = C:\WINDOWS
    Proxy Configuration: Manual Configuration
    Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
    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 properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class LPRemote.class not found.
    java.lang.ClassNotFoundException: LPRemote.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.net.UnknownHostException: proxy
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    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
    I followed this up by executing the following three console commands:
    "dump system properties"
    "dump classholder list"
    "dump thread list"
    and obtained the following listings:
    Dump system properties ...
    acl.read = +
    acl.read.default =
    acl.write = +
    acl.write.default =
    application.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
    awt.toolkit = sun.awt.windows.WToolkit
    browser = sun.plugin
    browser.vendor = Sun Microsystems, Inc.
    browser.version = 1.1
    deployment.javaws.cache.dir = C:\WINDOWS\.javaws\cache
    deployment.javaws.jre.0.enabled = true
    deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
    deployment.javaws.jre.0.osarch = x86
    deployment.javaws.jre.0.osname = Windows
    deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_01\bin\javaw.exe
    deployment.javaws.jre.0.platform = 1.4
    deployment.javaws.jre.0.product = 1.4.2_01
    deployment.javaws.jre.0.registered = true
    deployment.javaws.version = javaws-1.4.2_01
    deployment.system.cacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
    deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
    deployment.system.jssecacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
    deployment.system.profile = C:\WINDOWS
    deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
    deployment.user.cachedir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache
    deployment.user.certs = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.certs
    deployment.user.extdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\ext
    deployment.user.home = C:\WINDOWS\Application Data\Sun\Java\Deployment
    deployment.user.jssecerts = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
    deployment.user.logdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\log
    deployment.user.profile = C:\WINDOWS\Application Data
    deployment.user.security.policy = file:/C:/WINDOWS/Application%20Data/Sun/Java/Deployment/security/java.policy
    deployment.user.tmpdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache\tmp
    file.encoding = Cp1252
    file.encoding.pkg = sun.io
    file.separator = \
    file.separator.applet = true
    http.agent = Mozilla/4.0 (Windows Me 4.90)
    http.auth.serializeRequests = true
    https.protocols = SSLv3,SSLv2Hello
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes
    java.class.version = 48.0
    java.class.version.applet = true
    java.endorsed.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\endorsed
    java.ext.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\ext
    java.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
    java.io.tmpdir = C:\WINDOWS\TEMP\
    java.library.path = D:\PROGRAM FILES\INTERNET EXPLORER 6;.;C:\WINDOWS\SYSTEM;C:\WINDOWS;D:\PROGRA~1\INTERN~1;;C:\WINDOWS;C:\WINDOWS\COMMAND
    java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
    java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version = 1.4.2_01-b06
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.4
    java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
    java.vendor = Sun Microsystems Inc.
    java.vendor.applet = true
    java.vendor.url = http://java.sun.com/
    java.vendor.url.applet = true
    java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.4.2_01
    java.version.applet = true
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 1.4.2_01-b06
    javaplugin.maxHeapSize = 96m
    javaplugin.nodotversion = 142_01
    javaplugin.proxy.config.list = http=proxy,https=proxy,ftp=proxy,gopher=proxy
    javaplugin.proxy.config.type = manual
    javaplugin.version = 1.4.2_01
    javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_01 -Djavaplugin.nodotversion=142_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\JAVA\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
    line.separator = \r\n
    line.separator.applet = true
    os.arch = x86
    os.arch.applet = true
    os.name = Windows Me
    os.name.applet = true
    os.version = 4.90
    os.version.applet = true
    package.restrict.access.netscape = false
    package.restrict.access.sun = true
    package.restrict.definition.java = true
    package.restrict.definition.netscape = true
    package.restrict.definition.sun = true
    path.separator = ;
    path.separator.applet = true
    sun.arch.data.model = 32
    sun.boot.class.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\rt.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\i18n.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\sunrsasign.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jsse.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jce.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\charsets.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\classes;C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar
    sun.boot.library.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\bin
    sun.cpu.endian = little
    sun.cpu.isalist = pentium i486 i386
    sun.io.unicode.encoding = UnicodeLittle
    sun.java2d.fontpath =
    sun.net.client.defaultConnectTimeout = 120000
    sun.os.patch.level =
    trustProxy = true
    user.country = US
    user.dir = C:\WINDOWS\Desktop
    user.home = C:\WINDOWS
    user.language = en
    user.name = Michael G. Coucke
    user.timezone =
    user.variant =
    Done.
    Dump classloader list ...
    codebase=http://kraken.lowell.edu/, key=http://kraken.lowell.edu/,IONJava/classes/ion_16.jar,IONJava/classes/LP.jar, zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@109de5b
    Done.
    Dump thread list ...
    Group main,ac=11,agc=2,pri=10
    main,5,alive
    AWT-Windows,6,alive,dameon
    AWT-Shutdown,5,alive
    Java2D Disposer,10,alive,dameon
    AWT-EventQueue-0,6,alive
    Group Plugin Thread Group,ac=3,agc=0,pri=10
    Main Console Writer,6,alive
    AWT-EventQueue-1,6,alive
    TimerQueue,5,alive,dameon
    Group http://kraken.lowell.edu/-threadGroup,ac=2,agc=0,pri=4
    thread applet-LPRemote.class,4,alive
    AWT-EventQueue-2,4,alive
    Done.
    I'm not a Java expert, so this may be more information than you ever wanted to see.
    Once again, I hope that you can help. My experience has been that I usually have some obscure option set incorrectly and that causes me great grief.
    Thanks fo your help,
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: "Jeffrey Hall" <[email protected]>
    To: "'Mike Coucke'" <[email protected]>
    Sent: Thursday, September 04, 2003 11:48 AM
    Subject: RE: Registration with Lowell Education Online
    Hi Mike,
    Try it now. I think this problem has arisen because Sun just
    released a new version of the Plug-in (1.4.2), and when we released the
    public beta of LOPARC, only one relevant version (1.4.0) was available
    and the LOPARC code was written to look for that by default. I have
    just recoded the relevant routines so they should now cause your browser
    to simply pick up the latest 1.4 version of the Plug-in you have
    installed, whatever it is. I "broke" Java on my machine to replicate
    your problem, and the code I inserted today did fix it. Hopefully it
    will have the same effect for you. I am running IE 6 and plugin
    1.4.2_01 (as accessed via Tools->Sun Java Console).
    One broader problem: some (non-LOPARC-specific) users on the Sun
    forums have reported the "JRE collision" you are seeing when multiple
    versions of the Plug-in are installed on the same machine. So if the
    fix I made to our code doesn't work, one option would be to uninstall
    all Java components from your computer and do a fresh install of the
    latest runtime environment.
    Let me know how/if this works. Thanks for the feedback and for your
    patience.
    Best regards,
    Jeff Hall
    Lowell Observatory
    -----Original Message-----
    From: Mike Coucke [mailto:[email protected]]
    Sent: Wednesday, September 03, 2003 6:30 PM
    To: [email protected]
    Subject: Re: Registration with Lowell Education Online
    Hello Jeff:
    So far, I have been unable to launch a LOPARC session. I repeatedly
    get the following error message:
    "Exception: java.lang.ClassNotFoundException: LPRemote.class"
    My browser is MS Internet Explorer version 6.0.2800.1106 Initially I was
    using Java Plug-In version 1.4.1 and received the error message. I went
    to the Sun website and downloaded/installed Java Plug-In version 1.4.2
    and still get the message.
    Before I try to launch LOPARC, I can select Tools->Sun Java Console from
    IE's pull down menu to check my Java Plug-In version. When I try to
    launch LOPARC, I get the following message:
    "Applet(s) in this HTML page requires a version of Java different from
    the one the browser is currently using. In order to run the applet(s)
    in this HTML page, a new browser session is required, press 'Yes' to
    start a new browser session." If I select 'No', I get the following
    message: "Java Plug-in detected JRE collission"
    If I select 'Yes', a new browser window opens and then I get the first
    message above.
    Can you help?
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: <[email protected]>
    To: <[email protected]>
    Sent: Monday, September 01, 2003 5:30 PM
    Subject: Registration with Lowell Education Online
    September 1, 2003
    Dear Michael Coucke:
    Thank you for registering with Lowell Observatory's online education
    site. We hope you enjoy using it and visit regularly as we continue to
    expand its features and capabilities. This is a one-time welcoming
    email.
    For your records, your user ID is xxxxx, and your password is #########.
    You'll need to supply these each time you log in.
    This site gives you access to research-grade equipment including a 16"
    telescope, CCD detector, and image processing software. Our online
    archive of data is now available 24/7. The telescope will be opening to
    our onsite users in May, and on select nights to the Internet at large
    in June.
    We have designed this site so you don't need a huge monitor or a
    supercomputer to use it. All pages are viewable on screens running at
    800x600 resolution or higher. To use LOPARC, you'll need a Java-enabled
    browser with the Java 1.4 plug-in installed. If you don't have the
    plug-in, you'll be prompted to download it the first time you attempt to
    connect. This is an admittedly large (9 MB) but one-time-only download.
    This site works correctly under Internet Explorer version 5 or higher.
    If you use Netscape, you must be running version 6 or higher, and
    display or applet behavior anomalies may occur.
    If at any time you can't connect to our server, simply try again later.
    We do experience several power outages each year, particularly during
    Flagstaff's summer thunderstorm season. Our server is fully protected
    and backed up, and can be quickly brought back on line, but any active
    user sessions will be lost. Thanks for your patience during these
    inevitable downtimes.
    Your questions, comments, suggestions, and bug reports about this site
    are always welcome. On behalf of the LOPARC development team, thanks
    for signing up!
    Jeffrey Hall
    Assistant Research Scientist
    Associate Director, Education and Special Programs
    Lowell Observatory
    Flagstaff, Arizona

    Hi Mike,
    I see this in your logs:
    Java(TM) Plug-in: Version 1.4.2_01
    Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
    User home directory = C:\WINDOWS
    Proxy Configuration: Manual Configuration
    Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
    Proxy Overrides:
    I just helped my Dad set up his computer with a new
    cable modem, and had the situation where we couldn't
    access any secure Web sites. The cable folks had us
    disable the proxy. It looks like the error message is
    saying it can't find your proxy server, and the logs
    you posted say that you've decided to configure your
    proxy manually, rather than using the settings from
    IE (which is how mine is set up in the plugin
    control panel.)
    Could that be the problem?
    --Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for