Chapter 10. JSP SCRIPTING ELEMENTS
Topics in This Chapter
The purpose of JSP
How JSP pages are invoked
Using JSP expressions to insert dynamic results directly into the output page
Using JSP scriptlets to insert Java code into the method that handles requests for the page
Using JSP declarations to add methods and field declarations to the servlet that corresponds to the JSP page
Predefined variables that can be used within expressions and scriptlets
JavaServer Pages (JSP) technology enables you to mix regular, static HTML with dynamically generated content from servlets. You simply write the regular HTML in the normal manner, using familiar Web-page-building tools. You then enclose the code for the dynamic parts in special tags, most of which start ...
Get Core Servlets and JavaServer Pages™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.