posts - 36,  comments - 3,  trackbacks - 0
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>添加用户</title>
        <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/js/calendar.css">
        <script type="text/javascript" src="${pageContext.request.contextPath }/js/calendar.js"></script>
    </head>
    <body style="text-align: center;">
        <form action="${pageContext.request.contextPath }/servlet/AddCustomerServlet" method="post">
            <table width="60%" border="1">
                <tr>
                    <td>姓名</td>
                    <td>
                        <input type="text" name="name"/>
                    </td>
                </tr>
                <tr>
                    <td>性别</td>
                    <td>
                        <input type="radio" name="gender" value="1"/>男
                        <input type="radio" name="gender" value="0"/>女
                    </td>
                </tr>
                <tr>
                    <td>出生日期</td>
                    <td>
                        <input type="text" id="birthday" name="birthday" readonly="readonly" onClick="return showCalendar('birthday', 'y-mm-dd');"/>
                    </td>
                </tr>
                <tr>
                    <td>手机</td>
                    <td>
                        <input type="text" name="cellphone"/>
                    </td>
                </tr>
                <tr>
                    <td>邮箱</td>
                    <td>
                        <input type="text" name="email"/>
                    </td>
                </tr>
                <tr>
                    <td>爱好</td>
                    <td>
                        <c:forEach items="${hobby}" var="h">
                            <input type="checkbox" name="hobbies" value="${h}"/>${h}
                        </c:forEach>
                    </td>
                </tr>
                <tr>
                    <td>客户类型</td>
                    <td>
                        <input type="radio" name="type" value="2"/>VIP
                        <input type="radio" name="type" value="1"/>普通客户
                        <input type="radio" name="type" value="0"/>不良客户
                        
                    </td>
                </tr>
                <tr>
                    <td>描述</td>
                    <td>
                        <textarea name="description" rows="5" cols="55"></textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" value="保存"/>
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>
posted on 2014-04-21 23:45 天YU地___PS,代码人生 阅读(155) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航:
 
<2014年4月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

 一定要好好学习,天天向上!

常用链接

留言簿

随笔分类(8)

随笔档案(35)

文章分类

文章档案(1)

搜索

  •  

最新评论

阅读排行榜

评论排行榜