Halp!  How do I run my applet from my website???

I've made my applet and the web page needed to load it. The web page code is very simple, just the name of the applet and its dimensions, etc. etc. My question: I have an FTP program that I can use to upload the java class files and the applet web page to my school's server. Will that run it or do I need to do other things???? Does anyone know????

the computer you want to run it on at your school (if
you're going to do that) will need to have a version
of java installed up-to-date enough to run your
applet.Well...The server doesn't have to execute your applet at all.
It's only executed on the browser side.
So when you say "the computer you want to run it on", you must mean the computer that you're using to browse the site, e.g., your desktop PC.
Other than that I don't think so. The server
itself should be hosting all that it needs.The server needs to be configured to report the correct mime type for an applet or jar file. It probably already is.

Similar Messages

  • How can i run an applet from a webpage????

    can someone PLEASE tell me how i can run an applet from my webpage. a detailed response would be extremely appreciated.
    sam

    Here's a web page that you can use as skeleton. You should be able to start with that.
    <HTML>
    <HEAD>
    <TITLE>Title</TITLE>
    </HEAD>
    <BODY>
    <APPLET CODE="your.class" WIDTH=400 HEIGHT=300 IGNORE=""></APPLET>
    </BODY>
    </HTML>

  • How can I run an applet from an application (frame)?

    I have an application (frame) that render images and save it, and then I want to create an animation with those images using Animator applet from the application itself, but I do not how to call the applet from the application, is this possible?
    Thanks in advance, Jorge

    You can simply run a JApplet in a JFrame. Just create a frame object, an object of your applet, add the applet to the frame and call the init() function of your applet. It could look like this:
    JFrame anyFrame = new JFrame("MyTitle");
    YourApplet yourApplet = new YourApplet();
    anyFrame.getContentPane().add(yourApplet, BorderLayout.CENTER);
    yourApplet.init();
    anyFrame.setSize(new Dimension(800,600));
    anyFrame.setVisible(true);
    You will not necessarily have to write the applets default constructor.

  • How can I run one applet from enother

    Hi,all!
    I have two applets.And I want to open(run) the second one bypressing a button on a first one.
    Any help will be appreciated.

    "Running an applet" means loading a HTML file that has another Applet tag. I assume this is what you want.
    In that case you can call the following methods (in your codes in the 'first' Applet):
    this.getAppletContext().showDocument(anotherUrlName, targetName);
    anotherUrlName is the URL of the second html file that has another Applet tag. Check API documention for different values for targetName.
    jerry

  • HT1347 How do I run two libraries from one computer?

    How do I run two libraries from one computer? One library is on the computer's hard drive, the second library is on an external hard drive. The computer that had the external hard drive crashed and I need to fix the iTunes library on it. How can I do this without corrupting the library on my internal hard drive?

    Launch iTunes with the Shift key held down and either create a new library or choose the one on the external drive. Any rented movies downloaded from another computer won't play.
    (81212)

  • Considering a Macbook pro 13".  want to use garage band - how do i run line in from my guitar.  There is not a mic/line input that I can see in specs.

    Considering buying a Macbook pro 13".  Want to use garage band - how do i run line in from my guitar.  There is not a mic/line input that I can see in specs.

    Simple. GarageBand question, GarageBand forum where all those users are jacked into their Macs and can tell you how. Also look to the right of your post to the column, "More Like This."---------------------------------------------->
    https://discussions.apple.com/community/ilife/garageband

  • Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    The Mac OS X and iOS versions are separate products

  • How can i run unix script from my apex page

    how can i run unix script from my apex page and take the output of unix script as a hidden variable and display it on the report region of that page

    I had a requirement to run a Fortran program against some data that woudl be extracted from the database after the user set up their filtering criteria and made some additional input. SInce the program was to complex to conver to PL/SQL, we decided to try and invoke it from Apex. This is how I did it.
    1. I followed the steps in Tim Archer's excellent article "Oracle External Procedure to Run Host Commands" (http://www.timarcher.com/?q=node/9). If the link does nto work, google the article's title.
    Using this steps I created a function which accepts any OS command, including calling my own shell scripts, and runs them. I called my PL/SQL function "shell" instead of "USF_RUN_HOST_CMD " as Tim did in his example (step 9).
    2. In Apex,
    a. I created a button to run my shell command. (I named it P2_RUN_SHELL)
    b. I created a PL/SQL process whose source looks as follows:
    shell('/home/ackness/scripts/cr_xcf_file.sh > /tmp/cr_scfp_file.log');
    and which was conditioned on the the button P2_RUN_SHELL.
    It works like a charm.
    Note: since you can run your own scripts using this method, you can encapsulate a series of commands in a UNIX shell script and invoke that script from Apex. This allows you to be able to test or run you commands from the command line as well as Apex and makes it easier to develop/debug/enhance the scripts in the future.
    Ackness

  • Trouble running .java applettes from studio

    I am having trouble running javascript applettes from studio however they do work if run directly in MS explorer 6. The path for explorer exists in tools/options/sever and external tool settings/web browsers. Any suggestions?

    Do you have Java or JavaScript problems?
    Can you provide some code sample/steps to reproduce this?

  • AHEEEE! How do I post my Applet at my website?

    AHEEEE! How do I post my Applet at my website?
    This is my first attempt at making an applet working from my web page..
    I got a simple Applet posted at one of my websites about a week ago. It just draws a button.
    I asked a friend of mine to see it and the following is her response:
    The program doesn't work at all for me . . . I get a gray square area displayed and on the bottom - browser message line get the error - load:class [sheep] not found. apparently it works for you cause you've got the java class defined on your pc, but for others viewing the page - nada. you need to find a way for the class to become viable/active on remote computers.
    This is the html file which I thought would load the required class file and start the applet:
    <HTML>
    <HEAD>
    <TITLE>Applet HTML Page</TITLE>
    </HEAD>
    <BODY>
    <H3><HR WIDTH="100%">Applet HTML Page<HR WIDTH="100%"></H3>
    <P>
    <APPLET code="Sheep.class" width=350 height=200></APPLET>
    </P>
    <HR WIDTH="100%"><FONT SIZE=-1><I>Generated by NetBeans IDE</I></FONT>
    </BODY>
    </HTML>
    I have "Sheep.class" file in the same directory at the same level as "Sheep.html" file.
    They are at:
    http://www.geocities.com/jule_davenport/Sheep.html
    http://www.geocities.com/jule_davenport/Sheep.class
    What's happening (OR not happening)? How can I correct the problem?
    Can somebody check the page at the first link?
    Thanks.

    I'm totally confused now. :D
    I uploaded a few applet starting on February 5 and had assumed they were all viewable because on my computer I could see them off my site. Then this morning I got an email from a friend of mine who said the following:
    "The program doesn't work at all for me . . . I get a gray square area displayed and on the bottom - browser message line get the error - load:class [sheep] not found. apparently it works for you cause you've got the java class defined on your pc, but for others viewing the page - nada. you need to find a way for the class to become viable/active on remote computers."
    Since I've noticed that sometimes browsers (IE 6.0) seemed to have gotten class files off my computer's cache instead of actually downloading from my site, I immediately assumed my applets have never been available online.
    That wahy I posted questions here.
    Then John reported that he noticed problems with my applet too:
    The applet is trying to do something that is not
    secure, so the client runtime is automatically
    terminating it.
    If it helps, your applet is generating a
    java.lang.RuntimeException of type
    java.net.SocketPermission from attempting to resolve
    some www address.At least two people can't view my applet. At that point, I assumed my applets wer non-functional.
    And for some mysterious reason, IE stopped working, so I started using AOL's version nine browser and tested my applets online. They didn't work.
    But you know what? They had been working with my IE 6.0 always. At least so it seemed. (What I'm not sure is whether they seem to have worked on my computer because IE on my computer was getting class files from my computer's cache (or hard disk?).
    Maybe I need to rest a little. I'm confused.

  • How do I run an applet in full size of browser window?

    When I run an applet in the browser, I have to specify the width and height for the applet. How do I tell the applet to use the full size of browser window?
    Does anybody have experience on it?
    Thanks!

    Guys,
    I have found a solution already. The key is to specify percentage in width and height value. For example, width="100%" height="100%". There you go!
    Jet Wu

  • How Do I Run A Class From Another Class?

    Hiya everyone, id like to know how to run a class from another class.
    Ive got a Login class which extends a JFrame and a Personnel class which also extends a JFrame. When i press the login button (in Login class), ive got it to decide if password/login are acceptable and if they are, I want the Login class to close then run the Personnel class.
    Im just after the code which says to close this class and run the Personnel class. How do i do that?
    Ive researched this but couldnt get an understandable answer!
    Help would be much appreciated, Ant...

    This is the Login Class:
    public class MainMenu extends javax.swing.JFrame {
        Statement statement = null;
        int currentRecord;
        ResultSet rs = null;
        String name = null, job = null, mission = null, login = null, password = null;
        String loginVal;
        String passwordVal;
        /** Creates new form MainMenu */
        public MainMenu() {
            initComponents();
            try{
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                String filename = System.getProperty("user.dir") + "/src/Personnel.mdb";
                String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=" + filename;
                Connection conn = DriverManager.getConnection( database , "","");
                statement = conn.createStatement();
                System.out.println("Connected...ok");
            } catch (Exception e) {
                System.err.println("Got a connection Problem!");
                System.err.println(e.getMessage());
        private void btnLoginActionPerformed(java.awt.event.ActionEvent evt) {                                        
            loginVal = txtLogin.getText();
            passwordVal = txtPassword.getText();
            String name = null, job = null, mission = null, login = null, password = null;
            try{
                rs = statement.executeQuery("SELECT Login,Password FROM Personnel WHERE Login = '" + loginVal + "' ");
                System.out.println("TRYING SELECT CLAUSE");
                if(rs.next()){
                    System.out.println("THERE IS A NEXT RECORD");
                    login = rs.getString(1);
                    password = rs.getString(2);
                    System.out.println("GOT THE NEXT RECORD");
                    System.out.println(login + password);
                System.out.println("Query Complete");
            }catch(Exception s){
                //s.printStackTrace();
                System.out.println("NO RECORDS EXIST FOR THIS LOGIN ID");
            if(passwordVal.equals(password)){
                System.out.println("Access Granted"); //CLOSE MAIN AND RUN CONTROL CLASS
            } else{
                System.out.println("Access Denied"); //RE-RUN CLASS
        }                 

  • How can I run another application from my Form

    Dear Gurus,
    Can anybody tell how can I run a non oracle application from my Forms..
    Can it be done thru DDE package..
    If yes then how..??
    Can it be done like Excel calling thru DDE package???
    Thanks in Advance..
    Regards
    Swati..

    Keep in mind that HOST will execute where the runtime is located. This means for Forms 6.x and older, if the application is running as client/server, HOST will correctly execute on the client. If your application (Forms 6.x and newer) is run via a web browser, HOST will execute on the server and not the client machine.
    Without knowing exactly which Forms version you are using and where you want the call to be executed it will be difficult to offer suggestions.

  • How can i run a reports from forms

    Oracle forms 9i
    Hai All
    I am using oracle forms 9i.
    From the forms i need to generate a reports how can i generate a reports from there
    Regards
    Srikkanth.M

    there are hundreds of examples in this forum. Do a search

  • How can I distinguish between applets from the servlet end??

    What I'm looking for is just a way to distiguish between one applet from another on the servlet side. I know the session name and id will be helpful in this case. I was wondering, can I get the name of the client applet(Ex: appletClientOne or appletClientTwo) so that I can keep track of which messages to send to specific applet.

    Yes. Store the name of the applet in a cookie or HTML hidden input tag. Your other option is to connect to different URL's on your Servlet. Finally, you could use a combination of the above, and then set which applet a user is using in his/her HttpSession.
    - Saish

Maybe you are looking for

  • System Image Utility "volume on diskxsx failed to mount"

    I've been trying to create a NetRestore image using System Image Utility (SIU) for the past couple of days, but no matter what I do it fails.  I was oringally using OSX 10.8.4, but have now upgraded to 10.8.5. After reading through the logs, I can se

  • Can't install Adobe Air in Mac OS X 10.6.4

    Hi, I just bought a new macbook pro with the latest os. and one of the first i installed was adobe air. I've tried the other instructions for the other thread but i got no luck. Although i have a questio from this solution in this thread http://forum

  • Does deleting your ICloud account delete it on any other devices you're using it on?

    My family shares our Apple ID, but I want to delete the families iCloud account, from my ipad only, and replace it with a new one. If I press delete account, does anything change with the other devices?

  • SUM Netweaver 7.4 Java SP update error

    Hello I am trying to update my Netweaver 7.4 Java system from SP4 to SP6 but I am getting error on SUM. I generated stack.xml from Solution Manager system, put everything in one folder and executed latest version of SUM which is SUM10SP10_3-20006676

  • Need Help - Format Text

    Hi I am writing a servlet that reads a text file (*.txt) and then outputs it in HTML, as you do with servlets. Sounds simple enough, but there is a few problems I have and am hoping for some guidance. It is basically a log of jobsets that fell over t