empA
<c:set var="empB" scope="session" value="${empA}" /> I think there is no empA attribute in the session (because we set it to request). So [B]c:set[B] creates new object.