📄 createsystemparam.jsp
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
prefix="logic"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
prefix="tiles"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template"
prefix="template"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<html:base />
<title>中国胜利汽配-参数设置</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<style type="text/css">
<!--
body {
background-color: #F7F7F7;
}
.STYLE1 {font-size: 18px}
.STYLE4 {font-size: 12px}
.STYLE5 {color: #FF0000}
.STYLE6 {font-size: 12px; color: #FF0000; }
-->
</style>
<script type="text/javascript">
function check()
{
var codetype=document.forms[0].elements('codeType').value;
var codevalue=document.forms[0].elements('codeValue').value;
var showvalue=document.forms[0].elements('showValue').value;
var codedisplay=document.forms[0].elements('codeDisplay').value;
if(codetype=="")
{
alert("参数类型不能为空!");
return false;
}
if(!isNaN(codetype))
{
alert("参数类型不能为数字!");
return false;
}
if(codevalue=="")
{
alert("参数存入数据库中的值不能为空!");
return false;
}
if(isNaN(codevalue))
{
alert("参数存入数据库中的值必须为数字!");
return false;
}
if(showvalue=="")
{
alert("参数的显示值不能为空!");
return false;
}
if(codedisplay=="")
{
alert("请输入参数的描述信息!");
return false;
}
return alert("添加系统参数成功!");
}
</script>
</head>
<body>
<table width="800" height="400" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td height="28" bgcolor="#F7F7F7">
<table width="768" height="17" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td>
<span class="STYLE4">当前位置:<A
href="/CarFitManageSystem/carIndex.jsp">主页</A>
> 参数设置</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="300">
<p class="STYLE1">
参数设置
<span class="STYLE4">( 带*号的必须填写 ) </span>
</p>
<html:form action="/createSystemParam.do" onsubmit="return check()">
<table width="800" height="198" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="129">
<div align="right" class="STYLE4">
<span class="STYLE5">*</span> 参数的类型:
</div>
</td>
<td width="25"> </td>
<td width="308">
<span class="STYLE4">
<html:text property="codeType" size="35"></html:text>
</span>
</td>
<td width="314">
<span class="STYLE6">(参数的类型)</span> </td>
<td width="24"> </td>
</tr>
<tr>
<td width="129">
<div align="right" class="STYLE4">
<span class="STYLE5">*</span> 参数值:
</div>
</td>
<td width="25"> </td>
<td width="308">
<span class="STYLE4">
<html:text property="codeValue" size="35"></html:text>
</span>
</td>
<td width="314">
<span class="STYLE6">(参数存入数据库中的值)</span> </td>
<td width="24"> </td>
</tr>
<tr>
<td width="129" height="13">
<div align="right" class="STYLE4">
<span class="STYLE5">*</span> 参数显示值:
</div>
</td>
<td width="25"> </td>
<td width="308">
<span class="STYLE4">
<html:text property="showValue" size="35"/>
</span>
</td>
<td width="314">
<span class="STYLE6">(此信息将显示给用户)</span> </td>
<td width="24"> </td>
</tr>
<tr>
<td width="129">
<div align="right" class="STYLE4">
<span class="STYLE5">*</span> 参数描述:
</div>
</td>
<td width="25"> </td>
<td width="308">
<span class="STYLE4">
<html:textarea property="codeDisplay" />
</span>
</td>
<td width="314">
<span class="STYLE6">(请输入参数的描述信息)</span> </td>
<td width="24"> </td>
</tr>
<tr>
<td height="27">
<div align="right"></div>
</td>
<td colspan="2">
<html:submit value="添 加"></html:submit>
<html:reset value="取 消"></html:reset>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td height="13" colspan="4">
<div align="right"></div>
</td>
<td>
</td>
</tr>
</table></html:form>
</td>
</tr>
<tr>
<td height="12">
<p>
<STRONG><span class="STYLE4"><A
href="http://www.ccd.com.cn/friendship_link/index.asp">友情链接:
</A><A href="http://webunion.ccd.com.cn/" target="_blank">中国建筑装饰网站联
盟</A>
</span>
</STRONG>
</p>
</td>
</tr>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -