Hey im preparing for SCWCD and reading HF
Servlets. Im a little confused with
jsp:useBean.
If you have an existing value (dont worry about scope).
Do you use the class attribute or the type attribute to retrieve the existing value? Or can you use either.
I thought these are the rules, am i correct?
1. You can use either either class or type or both class and type attributes to retrieve an existing bean object in scope provided.
Is this correct?
2. You can use class if you dont have an existing bean object in scope and need to create a new bean instance
3. You cant use type f you dont have an existing bean object in scope and need to create a new bean instance