1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | <%-- Created by IntelliJ IDEA. User: Lenovo Date: 2022 / 10 / 14 Time: 18 : 38 To change this template use File | Settings | File Templates. --%> <%@ page contentType= "text/html;charset=UTF-8" language= "java" isELIgnored= "false" %> <%@ taglib prefix= "c" uri= "http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix= "fn" uri= "http://java.sun.com/jsp/jstl/functions" %> <html> <head> <title>信息修改</title> </head> <body> <form action= "/Java_test/UpdateServlet" method= "post" > <input type= "hidden" name= "id" value= "${user.id}" > <table align= "center" border= "1" cellspacing= "0" width= "500" > <tr> <td><center> 1 .姓名:</center></td> <td> <label> <input type= "text" name= "name" value= "${user.name}" /> </label> </td> </tr> <tr> <td><center> 2 .学号:</center></td> <td> <label> <input type= "text" name= "xuehao" maxlength= "8" value= "${user.xuehao}" /> </label> </td> </tr> <tr> <td><center> 3 .学生类别:</center></td> <td> <label> <c: if test= "${user.leibie=='本科生'}" > <input type= "radio" name= "leibie" value= "本科生" checked>本科生 <input type= "radio" name= "leibie" value= "研究生" >研究生 </c: if > <c: if test= "${user.leibie=='研究生'}" > <input type= "radio" name= "leibie" value= "本科生" >本科生 <input type= "radio" name= "leibie" value= "研究生" checked>研究生 </c: if > </label> </td> </tr> <tr> <td> <center> 4 .院系:</center></td> <td> <label> <c: if test= "${user.yuanxi=='土木学院'}" > <select name= "yuanxi" > <option value= "土木学院" selected>土木学院</option> <option value= "机械学院" >机械学院</option> <option value= "交通学院" >交通学院</option> <option value= "信息学院" >信息学院</option> <option value= "经管学院" >经管学院</option> </select> </c: if > <c: if test= "${user.yuanxi=='机械学院'}" > <select name= "yuanxi" > <option value= "土木学院" >土木学院</option> <option value= "机械学院" selected>机械学院</option> <option value= "交通学院" >交通学院</option> <option value= "信息学院" >信息学院</option> <option value= "经管学院" >经管学院</option> </select> </c: if > <c: if test= "${user.yuanxi=='交通学院'}" > <select name= "yuanxi" > <option value= "土木学院" >土木学院</option> <option value= "机械学院" >机械学院</option> <option value= "交通学院" selected>交通学院</option> <option value= "信息学院" >信息学院</option> <option value= "经管学院" >经管学院</option> </select> </c: if > <c: if test= "${user.yuanxi=='信息学院'}" > <select name= "yuanxi" > <option value= "土木学院" >土木学院</option> <option value= "机械学院" >机械学院</option> <option value= "交通学院" >交通学院</option> <option value= "信息学院" selected>信息学院</option> <option value= "经管学院" >经管学院</option> </select> </c: if > <c: if test= "${user.yuanxi=='经管学院'}" > <select name= "yuanxi" > <option value= "土木学院" >土木学院</option> <option value= "机械学院" >机械学院</option> <option value= "交通学院" >交通学院</option> <option value= "信息学院" >信息学院</option> <option value= "经管学院" selected>经管学院</option> </select> </c: if > </label> </td> </tr> <tr> <td><center> 5 .联系电话:</center></td> <td> <label> <input type= "text" name= "dianhua" value= "${user.dianhua}" maxlength= "11" /> </label> </td> </tr> <tr> <td><center> 6 .健康码颜色:</center></td> <td> <label> <c: if test= "${user.jiankangma=='黄码'}" > <input type= "radio" name= "jiankangma" value= "绿码" >绿码 <input type= "radio" name= "jiankangma" value= "黄码" checked>黄码 <input type= "radio" name= "jiankangma" value= "红码" >红码 </c: if > <c: if test= "${user.jiankangma=='绿码'}" > <input type= "radio" name= "jiankangma" value= "绿码" checked>绿码 <input type= "radio" name= "jiankangma" value= "黄码" >黄码 <input type= "radio" name= "jiankangma" value= "红码" >红码 </c: if > <c: if test= "${user.jiankangma=='红码'}" > <input type= "radio" name= "jiankangma" value= "绿码" >绿码 <input type= "radio" name= "jiankangma" value= "黄码" >黄码 <input type= "radio" name= "jiankangma" value= "红码" checked>红码 </c: if > </label> </td> </tr> <tr> <td><center> 7 .行程统计</center></td> <td> <label> <c: if test= "${fn:contains(user.tongji,'1')}" > <input type= "checkbox" name= "tongji" value= "1" checked/> 10 月 30 日去过人民医院。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'1')==false}" > <input type= "checkbox" name= "tongji" value= "1" /> 10 月 30 日去过人民医院。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'2')}" > <input type= "checkbox" name= "tongji" value= "2" checked/> 10 月 25 日以来去过深泽县人民医院。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'2')==false}" > <input type= "checkbox" name= "tongji" value= "2" /> 10 月 25 日以来去过深泽县人民医院。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'3')}" > <input type= "checkbox" name= "tongji" value= "3" checked/> 10 月 16 日以来去过深泽县庄泽村。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'3')==false}" > <input type= "checkbox" name= "tongji" value= "3" /> 10 月 16 日以来去过深泽县庄泽村。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'4')}" > <input type= "checkbox" name= "tongji" value= "4" checked/> 10 月 29 日以来去过黑龙江哈尔滨市或者黑河市。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'4')==false}" > <input type= "checkbox" name= "tongji" value= "4" /> 10 月 29 日以来去过黑龙江哈尔滨市或者黑河市。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'5')}" > <input type= "checkbox" name= "tongji" value= "5" checked/> 10 月 18 日以来途径贵州遵义市;北京丰台、昌平。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'5')==false}" > <input type= "checkbox" name= "tongji" value= "5" /> 10 月 18 日以来途径贵州遵义市;北京丰台、昌平。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'6')}" > <input type= "checkbox" name= "tongji" value= "6" checked/> 10 月 17 日以来到过湖南长沙;青海海东市。<br> </c: if > <c: if test= "${fn:contains(user.tongji,'6')==false}" > <input type= "checkbox" name= "tongji" value= "6" /> 10 月 17 日以来到过湖南长沙;青海海东市。<br> </c: if > </label> </td> </tr> <tr> <td><center> 8 .其他涉疫信<br>息需要填报的</center></td> <td> <label> <textarea rows= "5" cols= "20" name= "qita" >${user.qita}</textarea> </label> </td> </tr> <tr align= "center" > <td colspan= "2" > <input type= "submit" value= "提交" /> <input type= "button" value= "取消" id= "no" /> </td> </tr> </table> <script> document.getElementById( "no" ).onclick=function (){ location.href= "/Java_test/SelectAllServlet" ; } </script> </form> </body> </html> |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!