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