I really got confused in the next two lines of First First Server and in the JSP book on page no. 349
- This is a way of declaring and initializing the actual bean that you are using.
2. Declare and enter an intializea bean with
<jsp:useBean> <jsp:useBean id="person"class="foo.Person" scope="request"/>
In the first line, why did they call the attribute as an object?
Since the attribute is a name / value pair, bound to the scope, for example, request, session.
Jackblack
source
share