I am trying to pass the Person object as an attribute request instance of a
servlet. Then I am trying to catch that in
JSP page using standard actions. When I use scope="request" I can access the values that I have sent from the servlet (i.e Anil, 18), But when I remove the scope (by default page scope) I cant access the object that i have sent from the servlet. It displays Ajay ,20.
Is there any possibility os sending attributes page scoped from the servlet. How to solve this problem. If I want to access the Anil,18 whethe I have to make scope="request" in standard actions.
The sevlet code:
The JSP code is
This is where the problem is. It is displaying Ajay, 20 (Initialized in JSP) Though I have passed the person attribute in request scope
Please help.