documentation examples changes overview quick start installation command-line configuration admin amber clustering caching database deployment ejb 3.0 embedding filters hessian hmtp ioc jsp logging messaging performance quercus/php remoting scheduled tasks security server push servlets third-party troubleshooting virtual hosting watchdog webapp xml and xslt introduction compilation el jstl directives variables actions applications schema for jsp-2.0 .tld files velocity syntax jsp templates | jsp
JSP creates output (such as HTML) from template text and scripting actions. Template text is returned verbatim to the requesting client, and actions are used to fill in dynamic values and do things conditionallly. Introduction
JSP creates a document (such as HTML) from template text and scripting actions. Template text is returned verbatim to the requesting client, and actions are used to fill in dynamic values and do things conditionallly. Compilation
JSP compilation causes the compilation of JSP files before they are first accessed on a live server. EL
JSP EL is a simple expression language for accessing data. JSTL
JSTL provides standard actions for functionality most often needed by page authors. This functionality includes a core library for the most common tasks, internationalization (i18n) and text formatting, relational database access (SQL), and XML processing. Resin can generate more efficient code for JSTL than for other tag libraries. It is recommended that applications use JSTL as a basis for any JSP pages which can use it. Directives
JSP Directives control the processing of an entire page. Directive examples include setting a scripting language, setting an error page, including other sections, and setting a character encoding. Variables
JSP makes implicit variables available to the script. These variables are used to gain information about the request, and to help form a response. They also expose some useful functionality. Actions
Actions are the core of JSP. Actions range from printing a script expression, to creating and storing a Java Bean. Applications
An application collects servlets, JSP pages, scripts and Java Beans into a self-contained web application. Applications are just generalized virtual hosts, only based on the URL instead of the host name. Schema for JSP-2.0 .tld files
The formal definition for the *.tld file Velocity syntax
The Apache Velocity project introduces an alternative syntax to the familiar JSP expressions and scriptlets. Resin's extension allows the use of Velocity-style syntax in JSP files. The Velocity-style syntax is transformed into JSTL standard tags. JSP Templates
JSP templates encourage the clear and flexible model-view-controller architecture. It's an example of the old JSP spec's "model 2." This tutorial works through a simple guest book example using JSP templates.
|