SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: .class files?

  1. #1
    SitePoint Addict Mo Money's Avatar
    Join Date
    Nov 2002
    Posts
    274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    .class files?

    Hey guys, i run a free games website, and pathetically enough i dont know how to get .class files from a website. Ok ive tried going to say javanoid.class and copying all the text in there, copying that to a page, and then trying to embed that into a page and it doesnt work. What am I doing wrong? how do i get javascript games?
    AbcArcade.com - free internet games!

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    .class files are for java applets, not javascript.

    Why are you taking other site's games? tsk tsk.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    SitePoint Addict Mo Money's Avatar
    Join Date
    Nov 2002
    Posts
    274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do I download java applets? Dont worry about me taking other sites games, most of them say its fine, none of them say it arent, I host them on my server, I give them full credit, I link to them, and I give there games exposure

    And if any of them want me to take there games off I will do so ASAP!
    AbcArcade.com - free internet games!

  4. #4
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So you host other people's games becuase?

    1) You want to give other people's games exposure?
    2) You love games?
    3) You want to reap the advertisment revenue from the oodles of pageviews you are hoping to create?

    Not trying to be an *ss, just curious. Anyhow...moving on. Downloding class files isn't too tricky. You need to ascertain the absolute URL of the file. Like a class at "www.mysite.com/games" with a path of "/classes/whatever.class" has an absolute url of "http://www.mysite.com/classes/whatever.class". No just cut and paste that absolute url into your address bar and you should be prompted to download it. If not, create a simple HTML page with a link to that file, and right-click >> save-as the file.

    Also, if you are on good realtions with some of these site, maybe they'll give you an FTP account or sende you the files via email, if you ask.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •