Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" ?>
- <jsp:root
- xmlns:jsp="http://java.sun.com/JSP/Page"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html" version="2.0">
- <jsp:directive.page language="java"
- contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
- <jsp:text>
- <![CDATA[ <?xml version="1.0" encoding="UTF-8" ?> ]]>
- </jsp:text>
- <jsp:text>
- <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]>
- </jsp:text>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Login</title>
- </head>
- <body>
- <f:view>
- <h4 align="center">IDS517 s16g38 Database Login</h4>
- <hr />
- <a href="index.jsp">Home</a>
- <br />
- <hr />
- <br />
- <h:form>
- username:<h:inputText id="username" value="#{username}" /> <br />
- password:<h:inputText id="password" value="#{password}" /> <br />
- host:
- <h:selectOneMenu value="#{host}">
- <f:selectItem itemValue="131.193.209.54" itemLabel="Server 54" />
- <f:selectItem itemValue="131.193.209.57" itemLabel="Server 57" />
- <f:selectItem itemValue="localhost" itemLabel="localhost" />
- </h:selectOneMenu>
- RDBMS:
- <h:selectOneMenu value="#{rdbms}">
- <f:selectItem itemValue="MySQL" itemLabel="MySQL" />
- <f:selectItem itemValue="DB2" itemLabel="DB2" />
- <f:selectItem itemValue="Oracle" itemLabel="Oracle" />
- </h:selectOneMenu>
- dbSchema:<h:inputText id="password" value="#{password}" /> <br />
- <h:commandButton value="Submit" />
- </h:form>
- </f:view>
- </body>
- </html>
- </jsp:root>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement