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

📄 login.jsp

📁 新闻采用在线编辑器,可以象使用word一样编辑新闻   ·可web上传图片,新闻内其它网站图片自动下载   ·无限级目录分类   ·可设头条新闻和图片新闻   ·新闻点评功能
💻 JSP
字号:
<%@ include file = "../tiles/include.jsp"%>
<%
/** 
 * login system
 * @author edgeloner
 * 2004-05-24 created
 */	
%>
<bean:define id="loginTitle">
<bean:message key="login.title"/>
</bean:define>
<bean:define id="registerTitle">
<bean:message key="register.title"/>
</bean:define>
<center>
 <gui:window title = "<%=loginTitle%>" prototype = "boWindow" color = "70%">
  <gui:tabbedPanel prototype = "boTabbedPanel" followUp = "login.do" color = "#f0f0f0" selectedTab = "tab1"
      width = "60">
   <gui:tab prototype = "boTab" name = "tab1" title = "<%=loginTitle%>" followUp = "login.do">
    <html:form action = "loginAction?method=login" target="_top" focus = "name" onsubmit = "return validateLoginForm(this);">
	<html:errors/>
     <br>

     <table class = "win" CELLPADDING = "0" CELLSPACING = "0" WIDTH = "100%">
      <tr>
       <td>
        <bean:message key = "login.name"/></td>

       <td>
        <html:text property = "name" size = "20" maxlength = "18"/>

        <td>
      </tr>

      <tr>
       <td>
        <bean:message key = "login.password"/></td>

       <td>
        <html:password property = "password" size = "20" maxlength = "18" redisplay = "false"/></td>
      </tr>
 	  <tr>
        <td><bean:message key="login.chkCode"/></td>
        <td><input type="text" name="chkCode" size="20" maxlength="6"><html:img page="/CheckCodeImage" style="border: 1 dotted black"/></td>       
      </tr>
      <tr>
       <td colspan = "2" align = "right">
        <html:submit styleClass="button">
         <bean:message key = "button.login"/></html:submit>

        <html:reset styleClass="button">
         <bean:message key = "button.reset"/></html:reset>
       </td>
      </tr>
    </html:form>
	 </table>
   </gui:tab>

   <gui:tab prototype = "boTab" name = "tab2" title = "<%=registerTitle%>" followUp="register.do">
    regedit!
   </gui:tab>
  </gui:tabbedPanel>
 </gui:window>
</center>
<html:javascript formName="loginForm"
        dynamicJavascript="true"
         staticJavascript="false"/>

⌨️ 快捷键说明

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