当前位置:编程学习 > JS >>

jsp必备

<%@ page language="java" import="java.util.*" contentType="text/html" pageEncoding="UTF-8"%>
在<head></head>中加入一下代码
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
 
用户登录<br>
     <hr>
     <form action="loginClServlet" method="post">
            <table>
                <tr>
                 <td>用户名:</td>
                    <td><input type="text" name="uName"/></td>
                </tr>
                <tr>
                 <td>密    码:</td>
                    <td><input type="password" name="uPass"/></td>
                </tr>
                <tr>
                 <td><input type="submit" value="登录"/></td>
                 <td><input type="reset" value="重置"/></td>
                </tr>
            </table>
     </form>
    </center>
    <hr>
本文出自 “java技术社区” 博客

补充:Web开发 , Jsp ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,