scope="session">
<%-- The setProperty tag is only executed when a JavaBean is created --%>
When a JavaBean already exists...
The author of your book is property="author" />
Click here to see another page that
declares a JavaBean that uses the same name and scope.
//beanAlreadyExists2.jsp
scope="session" />
When a JavaBean already exists...
This page redeclares the JavaBean, but does not set any of its properties.
The same name and scope were used for the JavaBean, so the original bean
is used.
The author of your book is property="author" />