<% String httpError = request.getParameter("httpCode"); if (httpError != null) { try { int httpCode = Integer.parseInt(httpError); response.setStatus(httpCode); } catch (Exception e) { } } String msg = "Une erreur est survenue"; if ("404".equals(httpError)) msg = "Ressource non trouvée"; if ("403".equals(httpError)) msg = "Accès interdit"; String urlAccueil = "/portal/"; %> Société Osivia
<%=msg%>