You can't cast to String. It does not exist in Java.
Try to use an ArrayList instead.
All JSP pages share the same session. You will always have the variable in session until the session is terminated or until you remove the attribute yourself.
When you want the values back into another page you could use some code like this. ArrayList list = (ArrayList) session.getAttribute("callername"); Now you have the values in the list. on the second page