Hi,
I'm really confused in the following two lines of Head First servlets & JSP book of page no. 349:
- The is a way of declaring and initializing the actual bean object you're using in .
2.Declare and intializea bean attribute with
<jsp:useBean> <jsp:useBean id="person"class="foo.Person" scope="request"/>
In the first line, why they've called an attribute as an object?
Since attribute is name/value pair bound to scope,like request, session.