| C:\russ\dev\myapp\web\login.jsp |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> <f:view> <html> <head> <title> Ain’t No Clouds </title> <link rel="stylesheet" href="anc.css" type="text/css" /> </head> <body> <h:form> <h3> Authentication </h3> <table> <tr> <td> Name: </td> <td> <h:inputText value="#{userBean.name}" /> </td> </tr> <tr> <td> Password: </td> <td> <h:inputText value="#{userBean.password}" /> </td> </tr> <tr> <td> <td> <h:commandButton value="login" action="login" /> </tr> </table> </h:form> </body> </html> </f:view> <!-- vim: set tabstop=2 shiftwidth=2 noexpandtab: -->