Request attribute PageBean = null
I have a doubt
Can you explain me ?
I have this jsp:
My idea was when I click submit, in the servlet I can do something like this:
<jsp:useBean id="pageBean" class="ar.com.MyBean" scope="request">
<jsp:setProperty name="pageBean" property="*"/>
But the Request attribute PageBean are null
MyBean myBean = (MyBean)request.getAttribute("pageBean");
Can you explain me what is happening?
Aclaration: I am using servlets and jsp, not struts