When using <jsp:useBean> tag the first step the application server does is search the scope you specify for the appropriate bean. What exactly does it search in the scope? I mean if i specify:
Does it search the attributes of the request object (ie those able to be found listed under "reqest.getAttribute()") or does it search some other location? If it is under those attributes found via the getAttribute method of the request object, does the 'id' attribute of the jsp:useBean tag need to be the name of the attribute that was attached to the request.
Or am i in the completely wrong mindset on how to do this?
B
Code:
<jsp:useBean id="myBean" scope="request" class="myPackage.myBeanClass">
Does it search the attributes of the request object (ie those able to be found listed under "reqest.getAttribute()") or does it search some other location? If it is under those attributes found via the getAttribute method of the request object, does the 'id' attribute of the jsp:useBean tag need to be the name of the attribute that was attached to the request.
Or am i in the completely wrong mindset on how to do this?
B