JHTML | Java Within HyperText Markup Language

JHTML stands for Java within HTML. This is a page authoring system developed at Art Technology Group (ATG). Files with extension “. JHTML” file extension contain standard HTML tags, in addition to the property tags that reference Java objects running on a particular server configuration for handling requests for such pages.

JHTML WORKING

When making a request for a page  in JHTML, for example, “index.jhtml”, the request for this page is sent from the HTTP server to another system running a Java application server.

JHTML page is compiled for the first time in a java file. And then a Java class file . The application server runs the code in the class file.

As a servlet whose sole function is to issue a standard HTTP data stream back into HTML and HTTP server and the back of the client software (web browser, usually) that originally requested the document.

The main benefit of this system is that the logic is running on Java application server to generate HTML code dynamically. Often you query a database to collect specific data needed on the page.

The system is derived from earlier forms of CGI programming that allows a program running on a Web server to dynamically generate HTML. With JHTML, you can create standard HTML and just insert some additional tags that represent pieces of data from the HTML page that uses Java to create. JHTML is a proprietary technology from ATG. Sun Microsystems license parts of this technology and developed the JSP in the build system ATG site.