session.getAttribute("client").getCustomer().getNumber() will retrieve the value for you; please change this.