JSP Tutorials - Herong's Tutorial Examples - v5.11, by Herong Yang
JavaBean Objects and "useBean" Action Elements
This chapter provides tutorial notes and example codes on using JavaBean in JSP pages. Topics include what is a JavaBean; 'useBean', 'setProperty' and 'getProperty' action elements; using JavaBean objects in scripting elements; refreshing loaded JavaBean classes; Tomcat compilation error when import JavaBean classes declared in unnamed packages.
"jsp:useBean" Requires Fully Qualified Class Name
Servlet Class Converted from UseBean.jspx
Setting and Getting JavaBean's Properties
Using JavaBean Objects in Scripting Elements
Using Java Objects as JavaBeans
getProperty() Error on Tomcat 7
Refreshing Loaded JavaBean Classes
Importing Unnamed Package Class Error
Using JavaBean without Import Element Error
Conclusions:
Table of Contents
JSP (JavaServer Pages) Overview
Tomcat Installation on Windows Systems
Syntax of JSP Pages and JSP Documents
►JavaBean Objects and "useBean" Action Elements
Managing HTTP Response Header Lines
Non-ASCII Characters Support in JSP Pages
Overview of JSTL (JSP Standard Tag Libraries)
Multiple Tags Working Together
Using Tomcat on CentOS Systems
Connecting to SQL Server from Servlet