InfoCenter Home > 4.2.2.3.5.2a: JSP .91 syntax: Accessing bean propertiesAfter specifying the <BEAN> tag, you can access the bean at any point within the JSP file. There are three methods for accessing bean properties:
An example: <!-- The bean declaration --> <bean name="foobar" type="FooClass" scope="request" > <param name="fooProperty" value="fooValue"> </bean> <!-- Later in the file, some HTML content that includes JSP syntax that calls a method of the bean --> <p>The name of the row is <%= foobar.getRowName() %>.</p>
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|