Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0' encoding='UTF-8' ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core">
- <f:view>
- <head>
- <title>Sencilla Aplicacion JavaServer Faces</title>
- </head>
- <body>
- <center>
- <h:form>
- <style type="text/css">
- body {background:#33ffcc}
- </style>
- <h3>Introduzca su nombre y contrasena</h3>
- <table>
- <tr>
- <td>Nombre:</td>
- <td>
- <h:inputText value="#{nombre}"/>
- </td>
- </tr>
- <tr>
- <td>Contrasena:</td>
- <td>
- <h:inputSecret value="#{contrasena}"/>
- </td>
- </tr>
- </table>
- <p>
- <h:commandButton value="Aceptar" action="bienvenidos.xhtml"/>
- <h:commandButton value="Salir" action="salir.xhtml"/>
- </p>
- </h:form>
- </center>
- </body>
- </f:view>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement