%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import = "java.lang.*" %> <% Integer id; String param = request.getParameter("idCommande"); if (param == null || param.length() != 5) { id = 0; } else { try { id = Integer.parseInt(param); } catch (NumberFormatException nfe) { id = 0; } } /* Emulation d'une fonction de vérification d'existence */ if (id == 0 || (id != 12345 && id != 23456)) { %>