6.3. JavaServer Pages (JSP)

JSP technology is a J2EE standard for presentation. JSP pages have full access to WAF APIs. For documentation and tutorials on how to write JSPs, see http://java.sun.com/products/jsp/docs.html.

The strength of JSP is the ease with which a developer can rapidly develop and modify a single page. JSPs can be recompiled on the fly, and changing layout is straightforward, since a JSP is patterned after a standard HTML file. JSPs are recommended for projects where user interface specifications rapidly change and where the need for UI reuse is limited.

JSPs that wish to use the services of the WAF framework must extend the base JSP servlet provided by the WAF framework. See Section 7.2 BaseServlet.