instance « Bean « JSP-Servlet Q&A





1. use bean instance in servlet    coderanch.com

The scope of the bean u have declared in the jsp decides how u can fetch it in the servlet. if the scope is request and the id of bean is "xBean" u can retrive it using (TypeCast)request.getAttribute("xBean"); or if the scope of bean is session in jsp the same can be retrived from (TypeCast)session.getAttribute("xBean"); Devesh

2. beans instance    coderanch.com

Hello! Well, in a jsp page: It is possible to make YYY.ColaboradorAtividade extend YYY.Atendimento? Im asking this because when I am using colAtv some at attributes are null. Im trying to save some bd connections and avoid duplicated code. Its possible to make this? Thanks for your atttention, Rafael.

3. Stateful bean and instance pooling    coderanch.com

5. Bean Browser Instance    coderanch.com