679680681682683684685686687688689
{ // input stream should not be closed here ClassLoadingObjectInputStream ois = new ClassLoadingObjectInputStream(is); for (int i=0; i<size;i++) { String key = ois.readUTF(); Object value = ois.readObject(); session.setAttribute(key,value); } } }
673674675676677678679680681682683
{ ClassLoadingObjectInputStream ois = new ClassLoadingObjectInputStream(is); for (int i=0; i<size;i++) { String key = ois.readUTF(); Object value = ois.readObject(); session.setAttribute(key,value); } } }
675676677678679680681682683684685