JHTML
Filename extension |
.jhtml |
---|---|
Internet media type | java-internal/java-html |
Developed by | Art Technology Group (ATG) (Oracle from 2011) |
JHTML stands for
HTML tags
in addition to proprietary tags that reference Java objects running on a special server set up to handle requests for pages of this sort.
Overview
When a request is made for a JHTML page, e.g. "index.jhtml", the request for this page is forwarded from the
Java application server. The JHTML page is compiled first into a .java file and then into a Java .class file. The application server runs the code in the .class file as a servlet whose sole function is to emit a stream of standard HTTP and HTML data back to the HTTP server and on back to the client software (the web browser, usually) that originally requested the document. The principal benefit of this system is that it allows logic running in Java on the application server to generate the HTML dynamically. Often a database
is queried to accumulate the specific data needed in the page.
The system is derived from earlier forms of
JSP
system from the ATG page compilation system.