How can you store ArrayList values in a session obj? Explain.

Showing Answers 1 - 12 of 12 Answers

bala

  • Nov 17th, 2007
 

ArrayList name is custNameList means;

session.setAttribute("Id",custNameList); //to store the arraylist into session.

ArrayList customerName=(ArrayList) session.getAttrinute("Id");// get the arraylist from session.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions