+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Newbie!(public_html????)

  1. #1
    xronis7 is offline x10Hosting Member xronis7 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    1

    Newbie!(public_html????)

    Hi again!Can anyone explain to me what exactly is the public_html folder and what i am supposed to upload there?

    For example i want to upload a java applet that i made in my website..How can i do that?I will upload the .class files in public_html folder or what?:dunno:

  2. #2
    zubair12 is offline Banned zubair12 is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Lahore, Punjab, Pakistan.
    Posts
    631

    Re: Newbie!(public_html????)

    in public_html folder you can upload .htm .html .php .asp .aspx etc files. .class is not correct extension.

  3. #3
    botbg is offline x10Hosting Member botbg is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    57

    Re: Newbie!(public_html????)

    Yeah, just upload your whole site to public_html

  4. #4
    adamparkzer is offline On Extended Leave adamparkzer is just really nice
    Join Date
    Jun 2008
    Location
    IL, USA
    Posts
    3,745

    Re: Newbie!(public_html????)

    Quote Originally Posted by zubair12 View Post
    .class is not correct extension.
    No, .class is a valid extension. It is used in Java.

    Quote Originally Posted by xronis7 View Post
    For example i want to upload a java applet that i made in my website..How can i do that?I will upload the .class files in public_html folder or what?:dunno:
    Based off the (insufficient) Java knowledge I have, I'm pretty sure that you need the .java file in addition to the .class file. I'm not sure which one you use to embed, you might be able to receive more help by posting in the Programming Help section: http://forums.x10hosting.com/programming-help/

  5. #5
    Smith6612's Avatar
    Smith6612 is offline <<< wants a Turkey Smith6612 has a spectacular aura about
    Join Date
    Dec 2007
    Location
    Exploded
    Posts
    6,483

    Re: Newbie!(public_html????)

    Welcome to x10 xronis7! .class files are Java files, and all of your files go into public_html. You can use the public_ftp for transferring files via the FTP protocol instead of the HTTP protocol should you be asking about that.

    My signature likes cookies! Do you? :D

  6. #6
    xronis7 is offline x10Hosting Member xronis7 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    1

    Re: Newbie!(public_html????)

    Ok i ve done this...i have uploaded my applet here http://www.xro7.x10hosting.com/applettry.html but i cannot embed it for example here http://www.xro7.x10hosting.com/index.php?p=1_3_News .I ve tried with website builder but the html code (<applet>.....</applet>) connot be saved for a reason...

  7. #7
    adamparkzer is offline On Extended Leave adamparkzer is just really nice
    Join Date
    Jun 2008
    Location
    IL, USA
    Posts
    3,745

    Re: Newbie!(public_html????)

    Quote Originally Posted by xronis7 View Post
    Ok i ve done this...i have uploaded my applet here http://www.xro7.x10hosting.com/applettry.html but i cannot embed it for example here http://www.xro7.x10hosting.com/index.php?p=1_3_News .I ve tried with website builder but the html code (<applet>.....</applet>) connot be saved for a reason...
    Again, this question should go in the Programming Help section. Most advanced programmers don't even bother reading the Introductions section.

  8. #8
    Jarryd's Avatar
    Jarryd is offline Community Advocate Jarryd has a spectacular aura about
    Join Date
    Nov 2007
    Location
    Darwin, Australia
    Posts
    5,531

    Re: Newbie!(public_html????)

    Welcome to x10hosting, it's nice to see new users here. If you have any problems feel free to contact the support department any time. (We do not provide support for 3rd party scripts or applications but we try our best to help.)

    Try this link: http://java.sun.com/j2se/1.5.0/docs/...sing_tags.html

    It has a lot of information about java applets etc...
    Jarryd Sullivan
    █ 888-X10-9668 - Jarryd[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  9. #9
    ichwar's Avatar
    ichwar is offline Community Advocate ichwar is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    NC, USA
    Posts
    1,454

    Re: Newbie!(public_html????)

    Quote Originally Posted by adamparkzer View Post
    No, .class is a valid extension. It is used in Java.


    Based off the (insufficient) Java knowledge I have, I'm pretty sure that you need the .java file in addition to the .class file. I'm not sure which one you use to embed, you might be able to receive more help by posting in the Programming Help section: http://forums.x10hosting.com/programming-help/
    Yes the .class file is a valid java extension. No, the .java file is not required. The java file is just the source code, while the .class file is the compiled, executable, java code. The server would need to have a java compiler installed on it to use a .java file. And I'm pretty sure Corey hasn't installed the JDK on his hosting servers!;)

  10. #10
    adamparkzer is offline On Extended Leave adamparkzer is just really nice
    Join Date
    Jun 2008
    Location
    IL, USA
    Posts
    3,745

    Re: Newbie!(public_html????)

    Quote Originally Posted by ichwar View Post
    Yes the .class file is a valid java extension. No, the .java file is not required. The java file is just the source code, while the .class file is the compiled, executable, java code. The server would need to have a java compiler installed on it to use a .java file. And I'm pretty sure Corey hasn't installed the JDK on his hosting servers!;)
    lol That sounds more right than what I said. The only experience I have with Java compiling and real-world applications is a few projects from AP Computer Science class.

+ Reply to Thread
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers