Copyright © 2001 Qusay H. Mahmoud
34
Example
l// file: hello.jsp
l<html><head><title>example</title></head>
l<body>
l<% String visitor = request.getParameter(“user”);
l    if (visitor == null) visitor = “there”;
l%>
lHello, <%= visitor %>!
l</body>
l</html>