Stephanie Bodoff
In This Chapter
JavaBeans Component Design Conventions
Why Use a JavaBeans Component?
Creating and Using a JavaBeans Component
Setting JavaBeans Component Properties
Retrieving JavaBeans Component Properties
Javabeans components are Java...
JavaBeans component design conventions govern the properties of the class, and the public methods that give access to the properties.
A JavaBeans component property can be:
Read/write,...
A JSP page can create and use any type of Java programming language object within a declaration or scriptlet. The following scriptlet creates the bookstore...
You declare that your JSP page will use a JavaBeans component using either one of the following formats:
<jsp:useBean id="beanName"
class="fully_qualified_classname" scope="scope"/>...
There are two ways to set JavaBeans component properties in a JSP page:
With the jsp:setProperty element
With a scriptlet: <% beanName
.setPropName
(value
); %>
The syntax of the jsp:setProperty...
There are several ways to retrieve JavaBeans component properties. Two of the methods convert the value of the property into a String and insert the...
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.