How do we use session to hold multiple bean object?
I want to create a simple JSP form to accept details of student. Store it in bean. Then add thi开发者_StackOverflow中文版s bean in to session. On click of display it should show as many bean I have added in session...
Bean student;// intialized with required values
session.setAttribute(student);
That should set the value of your student bean to the session
精彩评论