Ask about index.jhtml

Discussion in 'Programming' started by atmos, Dec 29, 2007.

  1. #1
    hi im new here..and i dont know if is it right to post about extension jhtml here..
    currently i have an index.jhtml but after i uploaded in my server they seems not workin..only script that show in my browser.
    and my question is in what server application i must upload that file..?hope u guys can help me out..

    sorry if i have a wrong forum to post and sorry for my bad english :p
     
    atmos, Dec 29, 2007 IP
  2. JohnZing

    JohnZing Peon

    Messages:
    109
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    what is your server? Apache? IIS? I guess you need to setup your server to process this type of extension (.jhtml)
     
    JohnZing, Dec 29, 2007 IP
  3. proprod

    proprod Active Member

    Messages:
    216
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    90
    #3
    From techtarget.com


    JHTML (Java within Hypertext Markup Language) is a standard for including a Java program as part of a Web page (a page written using the Hypertext Markup Language, or HTML). A Web site developer can write a small program using the Java programming language and insert the program within a Web page. When a user requests the page, the Web site server, observing a request for a file with the .jhtml suffix, passes the code to a special Java program designed to handle JHML. This program, called the PageCompileServlet, calls the Java compiler , which quickly compiles the code. (If the code has previously been compiled by an earlier page request, this step is unnecessary.) The code is then executed, typically modifying the contents of the Web page in some way before it is sent to the requestor.

    JHTML is comparable to Microsoft's Active Server Page and to PHP in that all are approaches to modifying a Web page at the server before it is sent rather than at the client (the user's Web browser) with JavaScript. To access a database from the Web page, the Java code might use the Java Database Connectivity (JDBC) interface.

    JHTML requires installing a Java compiler on the Web server. JHTML is part of JavaSoft's Java WebServer Application Program Interface.
     
    proprod, Dec 29, 2007 IP
  4. atmos

    atmos Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    apache..do you kno how to setup the server? :)
     
    atmos, Dec 29, 2007 IP
  5. atmos

    atmos Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    if the webserver support jsp, is it mean that support jhtml too? thx for the info man,
     
    atmos, Dec 29, 2007 IP