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

📄 updatebalance.jsp

📁 本系统为符合订单管理 精确使用了账号分层用户管理 可进行主订单 次订单的增加 删除功能 实现了全密浏览用品的功能!
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<jsp:include page="../header.jsp" />
<html>
  <head>
    
    <title>UpdateBalance.jsp</title>
	
	<script type="text/javascript">
		function isnull(){
			if(document.forms[0].money.value==""){
					alert('充值金额不能为空');
					document.forms[0].money.focus();
					return false;
			}
			if(isNaN(document.forms[0].money.value)){
					alert('充值金额必须是数字');
					document.forms[0].money.value="";
					document.forms[0].money.focus();
					return false;
			}
		}
	
	</script>
	
  </head>
  
  <body>
    <center>
		<html:form action="/balance.do">
			<table>
				<caption>
					<font size="5"><b>
						给会员充值
					</b></font>
				</caption>
				<tr>
					<th width="100" align="center">
						ID 号:
					</th>
					<td>
						<html:text property="memberId" readonly="true" value="${member.memberId}"></html:text>
					</td>
				</tr>
				<tr>
					<th width="100" align="center">
						会员名称:
					</th>
					<td>
						<html:text property="memberName" readonly="true" value="${member.memberName}"></html:text>
					</td>
				</tr>
				<tr>
					<th width="100" align="center">
						 当前余额:
					</th>
					<td>
						<html:text property="balance" readonly="true" value="${member.balance}"></html:text>
					</td>
				</tr>
				<tr>
					<th width="100" align="center">
						 充值金额:
					</th>
					<td>
						<html:text property="money"></html:text>
					</td>
				</tr>	
				<tr>
					<td colspan="2" align="center">
						<html:submit onclick="return isnull()">充值</html:submit>
						&nbsp;&nbsp;&nbsp;&nbsp;
						<html:reset>重填</html:reset>
					</td>
				</tr>	
			</table>
		</html:form>
	</center>
  </body>
</html>

⌨️ 快捷键说明

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