1. 程式人生 > >按鍵三:按照條件修改信息

按鍵三:按照條件修改信息

doctype css alert lang o-c keyword bmi rpo nbsp

<%@ page language="java" import="java.util.*" import="java.sql.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<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">
-->
<script language="javascript">
function isvalib(from){
if(from.sushe.value="")
{
alert("宿舍號不能為空");
return false
}
else
return true}
</script>

<body>
<form action="update_stu_3.jsp" method="post"><br>
宿舍號</td></td> <input type="text" name="sushe"/><br><br>
訂水數量(數量)</td></td> <input name="shuliang2"> </td></tr>
接單狀態(YES或者NO)</td></td> <input name="jiedan2"> </td></tr>
送單狀態(YES或者NO)</td></td> <input name="song2"> </td></tr>
<input type ="submit" value="提交"/>&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" value="取消 "/>
<style type="text/css">
body{
background:url("image/444.jpg");
background-size:100%;
}
</strong>

</p>
</form>

按鍵三:按照條件修改信息