"LaraCroft" Obviously ficticious names are not allowed. Please read the naming policy described at http://www.javaranch.com/name.jsp and change your display name accordingly. Accounts that don't follow the naming policy get deleted. Dave.
Hi U better call the getClass() method on those objects in your session. It will return you the Class type Object now call the getName() method on it. This will return You the name of the class Your object belongs to in String. like: Object obj = session.getAttribute("key"); Class c = obj.getClass(); String className = c.getName(); now you can check this String for any decision.