⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.jsp

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JSP
字号:
<%@page contentType="text/html" pageEncoding="UTF-8"%><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%><%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%><%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd"><style type="text/css">.tCol1 {vertical-align: top;}.tRow1 {height:200px;}.tRow2 {height:240px;}.tStyle2 {    margin-top: 20px;    margin-left: 20px;    background: #F6F6F6;}</style>   <f:view locale="#{localeBean.locale}">       <html>           <head>               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">               <title>                   <h:outputText value="#{sayUser.login_title}"/>               </title>               <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/common/css/style.css"/>           </head>           <body>           <%@ include file="/common/header.jsp" %>           <h:panelGrid border="0" columns="1" width="100%" cellpadding="0" cellspacing="0" rowClasses="tRow1,tRow2" columnClasses="tCol1,tCol1">               <h:form>                       <h:panelGrid border="0" columns="1" styleClass="tStyle2">                           <h:panelGroup>                               <fieldset>                                   <legend>                                       <h:outputText value="#{sayUser.login_userLogin}"/>                                   </legend>                                   <h:messages globalOnly="true" showDetail="true" layout="table" infoClass="infos" errorClass="errors" fatalClass="fatals"/>                                   <h:outputText value="" rendered="#{user_login.login}"/>                                   <h:panelGrid border="0" columns="2" cellpadding="10" cellspacing="3">                                       <h:graphicImage url="/common/user/images/pc.jpg" style="margin:10px;"/>                                       <h:panelGrid border="0" columns="3" cellpadding="3" cellspacing="3">                                           <h:outputText value="#{sayUser.login_id}"/>                                           <h:inputText id="inputId" required="true"value="#{user_login.id}">                                               <f:validateLength minimum="2" maximum="18"/>                                           </h:inputText>                                           <h:message for="inputId" styleClass="errors"/>                                           <h:outputText value="#{sayUser.login_password}"/>                                           <h:inputSecret id="inputPassword" required="true" value="#{user_login.password}"/>                                           <h:message for="inputPassword" styleClass="errors"/>                                                                                      <h:outputText value="#{sayUser.login_validateCode}" rendered="#{ComApplication.validateLogin}"/>                                           <h:panelGrid columns="2" border="0" rendered="#{ComApplication.validateLogin}">                                               <h:inputText id="validateCode" size="6" value="#{user_login.validateCode}"/>                                               <h:graphicImage url="/common/user/validateCode.jsp"/>                                           </h:panelGrid>                                           <h:message for="validateCode" styleClass="errors" rendered="#{ComApplication.validateLogin}"/>                                       					   <h:selectBooleanCheckbox value="#{user_login.hidden}">                                               <h:outputText value="#{sayUser.login_hide}"/>                                           </h:selectBooleanCheckbox>                                           <h:panelGroup>                                               <h:commandButton value="#{sayUser.login_login}" action="#{user_login.loginCheck}" styleClass="marginRight"/>                                               <h:outputLink value="#{facesContext.externalContext.requestContextPath}/common/user/getPassword.faces">                                                   <h:outputText value="#{sayUser.login_forgetPassword}"/>                                               </h:outputLink>					   </h:panelGroup>					   <h:panelGroup/>                                       </h:panelGrid>                                    </h:panelGrid>                               </fieldset>                            </h:panelGroup>                       </h:panelGrid>               </h:form>               <h:panelGrid border="0" columns="1" cellpadding="3" cellspacing="3" style="margin-left:20px">                   <h:outputText escape="false" styleClass="colorGray" value="<b>隐身</b>:当你选择隐身登录时,其他人将不能看到你是否在线的信息!"/>                   <h:outputText escape="false" styleClass="colorGray" value="<b>忘记密码</b>:如果你忘记了在本站的登录密码,请点击该选项,我们将帮助你找回密码!"/>               </h:panelGrid>           </h:panelGrid>           <%@ include file="/common/footer.jsp" %>           </body>       </html>   </f:view>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -