What is the JHTML file format?
Files with the JHTML extension have a textual format and store HTML code combined with Java object code written in special tags. This standard, called Java Hyper Text Markup Language or Java in HTML, was developed by Art Technology Group - ATG. The company was fully acquired by Oracle in 2011. The execution of the code is possible thanks to the operation of a dedicated server configured to handle JHTML page requests.
How do JHTML files work? - server processing
Handling files with the JHTML extension is only possible on dedicated servers. It goes as follows:
- A JHTML page request appears, usually from the client's browser.
- The request is passed on to the server handling the Java application standard.
- The JHTML page is compiled into a .Java file and then a .class file.
- The server launches the code as a servlet passing the HTTP/HTML stream.
- The resulting code reaches the client's browser.
This solution allows for dynamic code generation of the page. It can, for example, be based on queries to a database that are in the JHTML code, using the JDBC interface - Java Database Connectivity.
Comparable solutions to JHTML
The operation of the JHTML file handling standard can be compared to the Microsoft Active Server Page or PHP service. It's about modifying the page code before it is delivered to the client. The standard developed by ATG is proprietary. Based on it, a licensed solution JSP was created by Sun Microsystems.
Format details
in a nutshellPrograms that open JHTML files
Community Q&A
asked by usersNo questions yet - be the first to ask about JHTML files.