InfoCenter Home >
4: Developing applications >
4.2: Building Web applications >
4.2.2: Developing JSP files >
4.2.2.3: Overview of JSP file content >
4.2.2.3.5: JSP syntax: useBean tag >
4.2.2.3.5.3: JSP syntax: Setting bean properties
4.2.2.3.5.3: JSP syntax: Setting bean properties
You can set bean properties by using the <jsp:setProperty> tag.
The <jsp:setProperty> tag specifies a list of properties and the corresponding values.
The properties are
set after the the bean is instantiated using the <jsp:useBean> tag.
You must declare the bean with <jsp:useBean> before you can set a property value.
See the Sun's JSP syntax reference
for <jsp:setProperty> syntax details and examples.
|
|