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.

  1. 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.

  2. and if declare in request scope in using on different jsp page gives exception "java.lang.instantiationexception:bean not found in scope"

  3. but if declare in session scope working fine on next jsp page.

so please solve above mentioned questions


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -