<html> <head> <title> Bonjour </title> </head> <body> <h1> <% if (request.getParameter("nom")==null) { out.println("Bonjour"); } else { out.println("Bonjour "+request.getParameter("nom")); } %> </h1> </body> </html>