| Chapter 20: Server-Side Java: JSP |
|---|
| Source Code in This Chapter |
|---|
|
|---|
| Order now |
import attribute of
the page directive. Uses the ServletUtilities
class from Chapter 19.
include directive, not
jsp:include.
jsp:include; we are
well aware that the included headlines are too outrageous to
possibly be true. Uses the
JSP-Styles
style sheet.
jsp:plugin.
Requires you to compile and install
PluginApplet.java,
TextPanel.java,
DrawingPanel.java, and
WindowUtilities.java
Since these are classes sent to the client to used by applets, the .class files
should be in the same directory as the JSP page, not in the WEB-INF/classes
directory where classes the server uses go. Uses the
JSP-Styles
style sheet. Warning: Allaire JRun 3.0 SP2 does
not properly support jsp:plugin.
jsp:useBean, etc.
Remember to install it in the WEB-INF/classes/cwp directory.
jsp:useBean (i.e., XML-style)
syntax and with Java-style syntax. Uses the
JSP-Styles
style sheet.
param attribute to read request parameters
and assign them to bean properties. Uses the
JSP-Styles
style sheet.
property="*" to read request parameters
and assign them to bean properties. Uses the
JSP-Styles
style sheet.
jsp:setProperty for every request vs. only when
the object is created.
Remember to install it in the WEB-INF/classes/cwp directory.
RequestDispatcher
to forward requests.
| URLs in This Chapter |
|---|
| General |
|---|