• 新闻发布项目——注册页面(reg.jsp)


    <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="CSS/admin.css" rel="stylesheet" type="text/css" />
    <title>用户注册</title>
    </head>
    
    <body>
    <form action="doRegServlet" method="post">
    <div id="opt_type">注册用户</div>
       	  用户名:<input type="text" class="classlist" name="userName"/>
       	  <span style="color:red"> <%
     	String uMsg = (String) request.getAttribute("uerrmsg");
     	if (uMsg == null) {
     		out.print("");
     	} else {
     		out.print(uMsg);
     	}
     %> </span><br/>
                密  码:<input type="password" class="classlist" name="password"/>
                <span style="color:red"> <%
     	String pMsg = (String) request.getAttribute("pwderrmsg");
     	if (pMsg == null) {
     		out.print("");
     	} else {
     		out.print(pMsg);
     	}
     %></span><br/>
                <input type="submit" value="提交" class="classlist"/>
                <input type="reset" value="重置" class="classlist"/>
            </form>
    </body>
    </html>
    

  • 相关阅读:
    转:孙振耀谈人生(推荐)
    自绘按钮的实现
    数据结构知识
    Direct Show采集图像实例
    视觉跟踪
    改变对话框控件的颜色
    笔试题
    CBitmapButton的使用
    Rotor (SSCLI) 2.0 登场!
    Under the hood: 从Win32 SEH到CLI异常处理模型
  • 原文地址:https://www.cnblogs.com/a1111/p/6540295.html
Copyright © 2020-2023  润新知