using <jsp:useBean tag without class attribute -
i have confusion in using usebean tag without class attribute, example given in head first servlets
and says person bean must exists, work.
so question that, possible can make work because if bean declared in page scope(then must declared in same page ), , if use line in same page give exception of having duplicate bean.
and if declare in request scope in using on different jsp page gives exception "java.lang.instantiationexception:bean not found in scope"
but if declare in session scope working fine on next jsp page.
so please solve above mentioned questions
Comments
Post a Comment