Boa Noite Pessoal,
tal situação pode acontecer no Control?
String codCliente = request.getParameter("CodCliente");
Cliente cliente = ClienteDAO.getById(Integer.parseInt(codCliente));
if(cliente !=null){
request.setAttribute("cliente",cliente);
jsp = "/alterarcliente.jsp";
}else{
String erro = "Ocorreu erro ao Alterar Cliente!"; // Aqui a duvida, isso nao deveria ser View ?
request.setAttribute("erro", erro);
jsp = "/erro.jsp";
}