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

📄 901130baf89b001d1883b15b1b23b203

📁 j2ee源码
💻
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/leeman-chtml.tld" prefix="chtml" %>
<html:html>
<HEAD>
<%@ page 
language="java"
contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"
%>
<!--Denfine variables-->
<bean:define id="lang_id" name="logonForm" property="lang_id" scope="session"/> 
<bean:define id="comp_id" name="logonForm" property="comp_id" scope="session"/> 
<chtml:baseLink bundle="<%=(String)lang_id %>"/>
<script language="javascript" type="text/javascript">
<!--
	function comboOnChange() {
		var form = document.logonForm;
		window.navigate('logon.do?action=init&lang_id='+form.selLang_id.value+'&comp_id='+form.selComp_id.value);
	}
	function doClientValidation()
	{
		initMsg();
		chkEmpty(document.logonForm.selLang_id, "<bean:message key="label.lang"/>");
		chkEmpty(document.logonForm.selComp_id, "<bean:message key="label.comp_id"/>");
		chkEmpty(document.logonForm.user_id, "<bean:message key="label.userName"/>");	
		chkEmpty(document.logonForm.password, "<bean:message key="label.password"/>");
		if (errorMsg.length > 0)
		{
			showMsg();
			return false;
		}
		else return true;
	}
// -->
</script>

<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META name="GENERATOR" content="IBM WebSphere Studio">

<META http-equiv="Content-Style-Type" content="text/css">
<TITLE><bean:message key="label.systemName"/>:<bean:message key="label.logon"/></TITLE>
</HEAD>

<BODY>
	<html:form action="/logon/logon">
	
	<!--Add Hidden Fields -->
	<html:hidden property="lang_id"/>
	<html:hidden property="comp_name"/>
	
	<TABLE id="LogonBox" style="WIDTH: 652px" height="441" cellSpacing="1" cellPadding="0" background="../common/images/main.jpg"  align="center">
		<TR>
			<TD class="logonBoxHead" style="HEIGHT: 50px" >
			<STRONG><FONT color="black" size="4"><bean:message key="label.logon"/></FONT>
			</STRONG></TD>
		</TR>
		<TR>
			<TD class="logonMessage" style="HEIGHT: 70px" borderColor="silver">
				<P><bean:message key="label.logonMsg"/></P>
					<!--<P>
					<logic:present name="database" scope="application">LtrSystemMessage" runat="server"</logic:present> 
					</P>-->
				</TD>
			</TR>
			<TR>
				<TD>
					<TABLE cellSpacing="0" cellPadding="0" width="80%" align="center" border="0">
						<TR><TD class="ErrorMessage" align="center">
							<bean:write name="logonForm" property="error_message"/>
						</TD></TR>
					</TABLE>
					<TABLE cellSpacing="2" cellPadding="2" align="center" border="0">
						<TR>
							<TD><bean:message key="label.lang"/>:</TD>
						<TD>
							<html:select property="selLang_id" value="<%=lang_id.toString()%>" 
								onchange="comboOnChange()">
								<logic:present name="logonForm" property="langList">
								<bean:define id="langList" name="logonForm" property="langList" scope="session"/> 
								<html:options collection="langList" labelProperty="label" property="value"/>
								</logic:present>
							</html:select>
							
						</TD>
					</TR>
					<TR>
						<TD><bean:message key="label.comp_id"/>:</TD>
						<TD>
							<html:select property ="selComp_id" value="<%=comp_id.toString()%>" 
								onchange="comboOnChange()">
								<logic:present name="logonForm" property="compList">
								<bean:define id="compList" name="logonForm" property="compList" scope="session"/> 
								<html:options collection="compList" labelProperty="label" property="value"/>						
								</logic:present>
							</html:select>
						</TD>
					</TR>
					<TR>
						<TD><bean:message key="label.userName"/>:</TD>
						<TD><html:text property="user_id" size="16" maxlength="18"/>
					<TR>
						<TD><bean:message key="label.password"/>:</TD>
						<TD><html:password property="password" size="16" maxlength="18"/></TD>
					</TR>
					<TR>
						<TD colspan="2" align="right">
							<html:submit property="cmd.logon" onclick="return doClientValidation();" styleClass="buttons"><bean:message key="label.logon"/></html:submit>
						</TD>
					</TR>
				</TABLE>
			</TD>
		</TR>
		</TABLE>
		<SCRIPT language="javascript">
		document.getElementById("selComp_id").focus();
		</SCRIPT>
		</html:form>
</BODY>
</html:html>

⌨️ 快捷键说明

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