Newb - Loading an applet from a specific location (local) help please

Hi guys,
I am not familiar with java applets at all, we have a 3rd party solution, for which i need a ...... solution
There is a website v4.globalmentoring.com/clientJava/clientlogin.asp
on this site, if you click on a topic, and then select "Get Instructor help" link
you will be taken to a new window (this is a chat window)
if you "view source" of that code you will see it has some extensive java loading params etc..
The deal is this, currently you have to go to the site to download the applet (install it on your machine) - and if you look into your Java Console
you will see that the applet loaded and cached fine...
The problem is this - some clients do not have rights to install Java Applets from websites, so i was thinking ... if i can give the necessary jar,cab,etc.. files to the client and the client places the files in a folder on a local network, then on the site i could point to a "local folder" to retrieve all the java information...
here is what i'm thinking:
//--------------------------- existing code start ------------------------------
<applet id=appRemovable class="listappNoMargins" code="com.chatspace.v400321.Chat" archive="cfs40321.jar"
mayscript
width="100%" height="400" codebase="/ChatSpace/Java" name="cs">
<param name="cabbase" value="cs3fu.cab">
<param name="useslibrarycodebase" value="cfs40321.cab">
<param name="useslibrary" value="ChatSpace Full Java Client 4.0.0.321">
<param name="useslibraryversion" value="4,0,0,321">
<param name="namespace" value="nav4">
.// some parameters.. lots of em..
<param name="vdir"               value="/clientJava/">
</applet>
//--------------------------------------------- END ------------------------------------
What would i have to change above to make it point to a different location?
such as lets say C:\myApplet\ ?
thnx

MORE INFO:
put it this way , there are 100's of work stations that do not have rights to download/install applets - what needs to happen is for the network admin
to set up a network directory where the applet (and all necessary files)
will be stored, then on my website, i want to point to an applet on THEIR (the client's) network. so they can actually "download" as they have rights to run applications from local network.
is this fairly clear?
thnx

Similar Messages

  • Streaming from a specific location within a file

    Hi everybody,
    I'm a newbie here so please be patient if this is a trivial
    question.
    What I need to know is the following: can I start streaming a
    video/audio file from a specific location (like a timestamp) with
    Flash Media Server?
    More precisely, the idea is this: I want Flash Media Server
    to establish a connection with another server (remote server) to
    receive some information like a file name and a time stamp. After
    this I want Flash Media Server to start streaming (to a simple
    client, like always) that file from that specific moment indicated
    in the "packet" it received from the other server. Can this be
    done? Is it hard?
    Thank you so much,
    Francesco.

    DarrylBurke wrote:
    sabre150 wrote:
    JosAH wrote:
    And who's the slowest old sod again? ;-)
    kind regards,
    JosMe! I had not even got round to answering this!Humph. I only just read it.
    dbPlease stand in the corner next to Sabre please.
    kind regards,
    Jos (<--- speedy ;-)

  • ClassFormatError when attempting to load an applet from within a JSP

    Greetings everyone.
    I have a problem that i seem unable to solve.
    I've created a web application. I'm using Java 1.4.2_05 and Tomcat. Right now i'm trying to load an applet from a JSP and i'm getting an error that, try as i might, i can't understand why it happens.
    Here is some detailed info:
    The applet's code:
    package smpb.myapp.controllers;
    import java.applet.Applet;
    import java.awt.Graphics;
    public class GUIApplet extends Applet
         public void init()
         public void stop()
         public void paint(Graphics g)
                  g.drawString("Hey hey hey",20,20);
               g.drawString("Hellooo World",20,40);
    The JSP's code:
    <%@ page language="java"
                   import="java.util.*"
                   session="true" %>
    <%
         String name = (String) request.getSession().getAttribute("userName");
    %>
    <html>
         <head>
              <title>Login</title>
         </head>
         <body>
              <h1><p align="center">Application</p></h1>
              <br>
              Welcome <%= name %>! Thank you for logging in!
              <br><br><br>
              <applet align="middle" code="smpb.myapp.controllers.GUIApplet.class" codebase="./" archive="MyApp_applets.jar">
                   Your browser does not support this feature.
              </applet>
              <br><br>
              <a href='<%=request.getContextPath() + "/LogOut"%>'>Log Out</a><br>
         </body>
    </html>-------------------------------------------
    When i reach this JSP the applet fails to load and i get the following error message at the java console:
    Loading applet ...
    Initializing applet ...
    Starting applet ...
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with no proxy
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Last modified time and/or expiration value is not available.  Jar file will not be cached.
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with no proxy
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with no proxy
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Last modified time and/or expiration value is not available.  Jar file will not be cached.
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with no proxy
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    java.lang.ClassFormatError: smpb/myapp/controllers/GUIApplet (Bad magic number)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:561)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1856)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
         at sun.applet.AppletPanel.run(AppletPanel.java:298)
         at java.lang.Thread.run(Thread.java:534)
    Exception: java.lang.ClassFormatError: smpb/myapp/controllers/GUIApplet (Bad magic number)-------------------------------------------
    The JSP is in the root directory of the web application's path right along with the jar file. The jar file itself has the following structure:
    Archive:  HelpDesk_applets.jar
      Length     Date   Time    Name
            0  05-17-06 12:17   META-INF/
          106  05-17-06 12:17   META-INF/MANIFEST.MF
            0  05-10-06 17:14   smpb/
            0  05-10-06 17:14   smpb/myapp/
            0  05-12-06 16:50   smpb/myapp/controllers/
          794  05-12-06 17:15   smpb/myapp/controllers/GUIApplet.class
          900                   6 filesNow, i've tried loading the very same jar file that i use in the JSP through a static HTML which is virtually identical to the JSP i presented and everything works just fine. I've checked and rechecked to see if all the permissions to access the jar file were accurate, i checked to see if Tomcat had it's MIME settings correctly configured so that there was no chance that the files were being corrupted during the load (as that is a usual cause for the problem, or so i've gathered) but to no avail. I've searched the web, including these forums, and found similar problems but no conclusive solution. I can't seem to figure out, at all, what could possibly be wrong. Does anyone have any ideas? I've tried to be as thorough as i could from the start, so, any help would be deeply appreciated.

    Hi mshah101,
    This can happen if the applet is compiled using an higher version of java and the browser is pointing to an older version (even if minor version number is higher)

  • How could I to load my applet from local

    hI all,
    How can i to load my applet from local file system.
    Thanks

    Put it anywhere you want. Put the associated HTML file in the same directory as your .class file and double click on the HTML file. Your browser should open up and display your Applet.

  • How can I play music through safari specifically youtube on my Mac book pro over soundlink to my bose wireless speaker I can only play audio from itunes at present? HELP PLEASE!

    How can I play music through safari specifically youtube on my Mac book pro over soundlink to my bose wireless speaker I can only play audio from itunes at present? HELP PLEASE!

    Should be able to go into your sound preferences and choose your output device, you can also try downloading Airfoil and try that, it's a pretty cool app.

  • I can't find pages and keynotes on my imac (ie not in applications folder)after purchasing them from the app store? help please!!!

    can't find pages and keynotes on my imac (ie not in applications folder)after purchasing them from the app store? help please!!!

    Try searching with Spotlight. Click the magnifying glass icon top right corner of your screen.
    If you can't locate the apps, you can re download without being charged again.
    http://support.apple.com/kb/HT2519

  • My location services is already on as well as with my facebook apps, but still i am unable to check in. what's wrong? even with my maps, it always say location unavailable. help please.

    my location services is already on as well as with my facebook apps, but still i am unable to check in. what's wrong? even with my maps, it always say location unavailable. help please.

    - The iPod uses the location of a nerby or connected router to determine it location based on a database of routers and their location. It appears that the routers near y are not in Appl'es database.  As of yet, nobody here seems to know how to get routers added to the database.
    - If you go to Strtbucks. McDonalds or another networks does the location show in the Maps app?

  • My old laptop crashed and I need to restore my iTunes music and movies to my new laptop from my iPod Touch. Help please. Thanks!

    My old laptop crashed and I need to restore my iTunes music and movies to my new laptop from my iPod Touch. Help please. Thanks!

    See:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • HT1386 having trouble syncing/downloading contacts & calendar & tasks from outlook 2010 to iphone4s help please.

    having trouble syncing/downloading contacts & calendar & tasks from outlook 2010 to iphone4s help please.

    I had the identical problem.  I still don't know how to sync the tasks, but here's how I did the contacts and calendar:
    1.  Connect the 4s to the computer.
    2.  Open iTunes.
    3.  Click the iPhone box in the upper right corner.
    4.  Click on the info tab.
    5.  Hit the checkbox Sync Contacts with... and choose Outlook from the dropdown box.
    6.  Ditto for Calendars.
    7.  Hit Apply.
    My problem was that originally, I wasn't getting the checkboxes.  I turned off the iCloud settings on the 4s.  That did the trick.

  • I am currently using final cut pro 6 and i have a problem that i can not to do a play out to the dvcam but i can record from the dvcam, can you help please?

    i am currently using final cut pro 6 and i have a problem that i can not to do a play out to the dvcam but i can record from the dvcam, can you help please?

    I believe there is no  "Export to Tape"  feature as appeared in legacy FCP.
    SORRY! Just noticed you are using FCP 6.
    You need to ask this question in the Final Cut Studio forum.
    Message was edited by: Ian R. Brown

  • Trouble loading java-applet from within browser

    hello,
              I'm kinda new to Java-applets and to Weblogic and consequently I've run
              into a problem. I'm having difficulties deploying an applet in a
              war-archive. My archive structure looks like this:
              --root of .war
              --index.jsp
              --WEB-INF
              --classes
              --test
              --testapplet.class
              my code to load the applet in my index.jsp file looks like this:
              <applet
              codebase = "http://localhost:7001/WebModule/WEB-INF/classes"
              code = "test.testapplet.class"
              name = "TestApplet"
              width = "400"
              height = "300"
              hspace = "0"
              vspace = "0"
              align = "middle"
              >
              </applet>
              Unfortunately the class is not found by the browser producing a
              ClassNotFoundException. I use Weblogic 8.1SP2 and Mozilla 1.6, both
              using J2SDK(JRE) 1.4.2-03. My IDE is Borland JBuilder X Weblogic edition
              and my host-OS is Gentoo-Linux.
              Can anyone point out what's my mistake?
              Thx in advance
              Nic
              

    Ok, thanks. I didn't know that.
              Nic
              Robert Greig wrote:
              > nkalkhof wrote:
              >
              >> Can anyone point out what's my mistake?
              >
              >
              > Code in WEB-INF/classes is loaded by the container for execution on the
              > server. It is not in the docroot, so is not accessible to the client.
              >
              > Move the classes into the docroot (i.e. the same level you'd put gifs or
              > html pages).
              >
              > See http://java.sun.com/docs/books/tutorial/applet/index.html for some
              > examples.
              >
              > Robert
              

  • I need to move SharePoint from Rackspaces to Amazon. Help, please.

    Help, please.
    I need to move SP from Rackspaces to Amazon.
    How can I do that?
    Thanks in advanced.

    How much content do you have in current hosting? Do you have any custom solutions deployed? It depends on what kind of hosting package you have. You can take complete backup if you have access to this functionality and then restore in new hosting. Hosting
    companies help users in setting up sites. There are different options. You can setup sharepoint on amazon and then use third party software to copy sites to new location. Delete sites from rackspace after the migration is over.
    Saifullah Shafiq
    Blog:  
    Twitter:   LinkedIn:
      Facebook:
      Google+:
      Latest Book:
    A Practical Guide to SharePoint 2013

  • Preloader that loads a percentage or specified number of frames, help please

    hi,
    i've googled and searched the forum here for a (simple) way
    to use a preloader that loads a percentage or specified number of
    frames. What i find is preloaders that load the total frames.
    here is the action script used:
    if (_framesloaded>=_totalframes) {
    gotoAndPlay("Scene 1",1);
    } else {
    gotoAndPlay("preload",1);
    is there a way to modify this simple script or do i need to
    use another script? i tried changing "totalframes" to "300frames".
    But it didn't work and i just shooting in the dark here.
    help please
    thanks
    gregory

    "why would you not want the whole file to load? "
    yes i want the whole file to load.
    What i'm asking is how to specify in the preloader how many
    frames will load before the file plays.
    "although you could start the file after a certain amount of
    frames are loaded, but I still do not see the point"
    the reason you would be to not have a long wait while the
    entire file loads. Flash will stream the rest of the file as the
    preloaded section of the file starts playing.

  • Adobe Acrobat (latest version) and installed on my mac. It worked momentarily and then disappeared from my machine. Any help please?

    I purchased Adobe Acrobat (latest version) and installed on my mac.
    It worked momentarily and then disappeared from my machine. The mac software is OS X 10.8.2
    I have tried to redownload but the Adobe site says the program is installed.
    Any help please?
    Geoff

    Hi everyone,
    I deleted Adobe Reader and cleared the Internet dat files and reinstalled Acrobat and it worked.
    Geoff

  • I keep losing the music from my iTunes library. Help please!!!

    For some reason when i shut my iTunes down the next time i open it all of the songs have gone from my library. I can restore them from my itunes music folder but i do not know why this is happening and its really starting to annoy me. Any help please?????

    That happens when the itunes database file doesn't get saved properly. By design, if itunes can't find a valid database file, it makes a new blank one.
    iTunes Library.itl is the name of the file.
    Is this on a Sony Vaio? There is a well-known bug with some bad sony software that erases the itunes database file. There are also problems with some ant-virus/security software packages not letting itunes save that file.

Maybe you are looking for

  • Changing the Header in a Hybrid Web Container app on BlackBerry

    Hello Experts! I am trying to add a custom header to Hybrid Web Container Apps on SUP 2.0.  It would be nice to add branding or additional text - even the ability to center the text would be nice.  I have tried various jQuery approaches and can see t

  • Popup in facelet JSF in weblogic portal 10.3.2 ?

    Hi all, I am working on weblogic portal 10.3.2, now i want to pop-up a windows in my portlet base on facelet but i cannot do that. Can somebody help me? Any suggestion or helping are welcome. Thanks in advance. Best regards, Coy.

  • Photoshop CS5 not responding to Cintiq stylus

    I've been having problems with photoshop on my cintiq for a while now.  I'm using the Cintiq 12wx on the latest wacom driver, 6.1.6-5.  I just downloaded and installed the Photoshop 12.0.1 update and that didn't do anything to help me.  I have a dual

  • Turn Word documents into PDfs

    Is there any way to use Automator to create a command so that I can turn Word documents into PDFs in one easy step? Thanks, Ken

  • Coding for Nokia E 90

    Hello! I am trying to get some coding in my Nokia E 90 to be able to send and receive email messages. Before on my Nokia 9500 i succesfully used PGP but now it doesn't work on my E 90. If anybody knows how to install PGP on E 90, or to get some other