|Chapter 20: Server-Side Java: JSP|
|Source Code in This Chapter|
importattribute of the
pagedirective. Uses the ServletUtilities class from Chapter 19.
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: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.
paramattribute 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:setPropertyfor every request vs. only when the object is created. Remember to install it in the WEB-INF/classes/cwp directory.
RequestDispatcherto forward requests.
|URLs in This Chapter|
TrainingAbout the Instructor
Intermediate Servlet & JSP Training Courses
Advanced Servlet & JSP Training Courses
SCWCD Training Courses
Jakarta Struts Training Courses
JavaServer Faces (JSF) & Apache MyFaces Training Courses
Ajax Training Courses
Java 5 & 6 Programming Training Courses
Customized On-Site Training Courses
Public Training Course Schedule
TutorialsApache Tomcat Tutorial
Intermediate Servlets & JSP Tutorial
Advanced Servlets & JSP Tutorial
SCWCD (Sun Certified Web Component Developer) Exam
Jakarta Struts Tutorial
JavaServer Faces (JSF) & Apache MyFaces Tutorial
Java 5 & 6 Programming Tutorials
Tutorials in Chinese
Tutorials in Japanese
ConsultingOur consulting services
JobsWe are hiring!