//File: index.html
Using Password Controls
Using Password Controls
//File: formAction.jsp
Reading Password Controls
Reading Password Controls
<%
if(request.getParameter("password").equals("Open Sesame")) {
out.println("You're in!");
}
else {
out.println("I don't think so!");
}
%>
UsingPasswordControlsJsp.zip( 89 k)