Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Adding Applets to website  (Read 3107 times)

0 Members and 1 Guest are viewing this topic.

d-boy22

    Topic Starter


    Rookie
    Adding Applets to website
    « on: December 24, 2010, 01:41:00 PM »
    Ive made a simple applet I want to put on a website. Im using free web hosting services such as spruz.com and a few others trying to find a way to upload and display my java applet ive made on a website. the applet works correctly on my own computer.

    Ive used this code on the website to

    <applet code="http://aplusreview.webs.com/compreview.class" width=400 height=400>
    </applet>

    I uploaded my class and put its path in the html code but I get a error during runtime saying the class can not be found, but the link works as far as I know. Is there a way I can get this work?

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Adding Applets to website
    « Reply #1 on: December 24, 2010, 07:07:19 PM »
    In general, you end to have a place to test it on a local machine.Yhen create a link that goes to you local web. If the thing works locally, but not on the internet, there maybe a reference that needs to be made an areference relative to the web site, not you local folder.
    Look to see if there is a code base thing.
    See here:
    http://www.htmlcodetutorial.com/applets/_APPLET_CODEBASE.html