jQuery验证表单

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="xc"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>











	<%
		request.setCharacterEncoding("utf-8");
		response.setCharacterEncoding("utf-8");
		String user="";
		String flag = "";
		if (request.getAttribute("flag") != null) {
			flag = (String) request.getAttribute("flag");
		}
		if(request.getAttribute("username")!=null){
			user=(String) request.getAttribute("username");
		}
		System.out.print(flag);
	%>
	
	

欢迎注册网上书城

  • 1.填写注册信息
  • 2.注册成功
用 户 名:
用户名已存在
密  码:
确认密码:
Email地址:

jQuery验证表单_第1张图片

你可能感兴趣的:(jQuery验证表单)