Doubt regarding the <jsp:useBean> syntax
<jsp:useBean id="name" scope="scopename" {beandetails}>
where {beandetails} can be
class="classname" type="typename"
or
beanName="beanName" type="typename"
Will someone tell me the difference between these two? (As far as I know
the 'class'
itself can be called a bean(Both Bean & class can be used to create components),what
is the proper diff. betwen the two.
Also what does the 'beanName' imply?? in the above reference and what does
this type
mean..?
It would be great if you could explain using a small example of how to use
the beanname
attribute in the <jsp:usebean>.
Thanks in advance,
Prasanth V

