Using JavaBeans with JSP
  1. Initial value (getProperty):
  2. Initial value (JSP expression): <%= stringBean.getMessage() %>
  3. Value after setting property with setProperty:
  4. <% stringBean.setMessage("My favorite: Kentucky Wonder"); %> Value after setting property with scriptlet: <%= stringBean.getMessage() %>