August 2003
Intermediate to advanced
736 pages
14h 14m
English
Topics in This Chapter
Static vs. dynamic text
Dynamic code and good JSP design
The importance of packages for JSP helper/utility classes
JSP expressions
JSP scriptlets
JSP declarations
Servlet code resulting from JSP scripting elements
Scriptlets and conditional text
Predefined variables
Servlets vs. JSP pages for similar tasks
This chapter discusses the “classic” approach to invoking Java code from within JSP pages. This approach works in both JSP 1 (i.e., JSP 1.2 and earlier) and JSP 2. Chapter 16 discusses the JSP expression language, which provides a concise mechanism to indirectly invoke Java code, but only in JSP 2.0 and later.
In most cases, a large percentage of your ...
Read now
Unlock full access