Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
If a bean property is writable (write-only or read/write access), you can set the value using another standard action: <jsp:setProperty>. Table 6-2 shows a bean that is similar to the CartoonBean used in the previous example, but that also has a writable property named category.
| Property name | Java type | Access | Description |
|---|---|---|---|
category |
String | Write | The message category, either thoughts or quotes |
message |
String | Read | The current message in the selected category |