JHTML: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>BattyBot
 
imported>Ferdta
No edit summary
 
Line 28: Line 28:


== Overview ==
== Overview ==
When a request is made for a JHTML page, e.g. "index.jhtml", the request for this page is forwarded from the [[HTTP server]] to another system running a [[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.
When a request is made for a JHTML page, e.g. "index.jhtml", the request for this page is forwarded from the [[HTTP server]] to another system running a [[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 (programming language)|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 [[Common Gateway Interface|CGI]] programming that allow a program running on a web server to generate HTML dynamically. With JHTML, you can author standard HTML and just insert a few extra tags that represent the pieces of the HTML page data that Java should be used to create. JHTML is a proprietary technology of ATG. [[Sun Microsystems]] licensed parts of this technology and developed the [[JavaServer Pages|JSP]] system from the ATG page compilation system.
The system is derived from earlier forms of [[Common Gateway Interface|CGI]] programming that allow a program running on a web server to generate HTML dynamically. With JHTML, you can author standard HTML and just insert a few extra tags that represent the pieces of the HTML page data that Java should be used to create. JHTML is a proprietary technology of ATG. [[Sun Microsystems]] licensed parts of this technology and developed the [[JavaServer Pages|JSP]] system from the ATG page compilation system.

Latest revision as of 08:10, 2 October 2025

Script error: No such module "Unsubst". Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters". JHTML stands for Java within HTML. This is a page authoring system developed at Art Technology Group (ATG). Files with a ".jhtml" filename extension contain standard 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.[1]

Overview

When a request is made for a JHTML page, e.g. "index.jhtml", the request for this page is forwarded from the HTTP server to another system running a 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 CGI programming that allow a program running on a web server to generate HTML dynamically. With JHTML, you can author standard HTML and just insert a few extra tags that represent the pieces of the HTML page data that Java should be used to create. JHTML is a proprietary technology of ATG. Sun Microsystems licensed parts of this technology and developed the JSP system from the ATG page compilation system.

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".


Template:Asbox

  1. REDIRECT Template:Prog-lang-stub

Template:R shell