1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Noob to java, please help me to insert java in web page!

Discussion in 'Other Scripting Languages' started by ExdCro, Jun 6, 2013.

  1. ExdCro

    ExdCro Newbie

    Joined:
    Apr 19, 2013
    Messages:
    32
    Likes Received:
    5
    I have some basic java application, now i need your help to teach me how to put it on web page.
    All source codes and my index.php try you can find in archive right here: bit ly / 15Exw0m

    Thank you in advance!
     
  2. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    500
    Likes Received:
    257
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    It will be most probably JavaScript not Java.
    And use pastebin to show your code. Noone will download a zip from somewhere for security reasons. -> use VirusTotal.
     
  3. ExdCro

    ExdCro Newbie

    Joined:
    Apr 19, 2013
    Messages:
    32
    Likes Received:
    5
    Yeah it is Java ....
    there is no virus..
     
  4. killersoft

    killersoft Newbie

    Joined:
    Jul 8, 2013
    Messages:
    12
    Likes Received:
    5
    Occupation:
    software developer
    Location:
    Poland
    You can embed Java on your web page with Java Applet (old technology) or Java Web Start - both of them are not lightweight and will force user confirmation, not just simple start like flash player or something. In both of given solutions you must make simple GUI, not just application with main() method.

    If you only want to see results of your Java program on a webpage - use simple Tomcat http server and learn about servlets.
     
  5. DarkPixel

    DarkPixel Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 4, 2011
    Messages:
    1,328
    Likes Received:
    1,239
    Location:
    ↓↓↓↓
    Home Page:
    I can't personally see the point of using Java on the front end of a website.
    OP use pastebin, nobody will download a zip, with Java inside.