<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@tablib prefix="fm" uri="http://www.springframework.org/tags/form"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'MyJsp.jsp' starting page</title>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/calendar/WdatePicker.js"></script>
</head>
<body>
<fm:form method="post" modelAttribute="user">
用户编码:<fm:input path="usercode"/></br>
用户名称:<fm:input path="username"/></br>
用户密码:<fm:password path="password"/></br>
用户生日:<fm:input path="birthday" Class="Wdate" name="birthday" readonly="readonly" onclick="WdatePicker();"/></br>
用户地址:<fm:input path="address"/></br>
联系电话:<fm:input path="phone"/></br>
用户角色:
<fm:radiobutton path="userRole" value="1"/>系统管理员
<fm:radiobutton path="userRole" value="2"/>经理
<fm:radiobutton path="userRole" value="3"/>普通用户 </br>
<input type="submit" value="保存"/>
</fm:form>
</body>
</html>
<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/useradd.js"></script>
由于标签库爆黄所以导致跟其有关的全部都是有黄线的,我看着跟书上敲的一样呀,
相关分类