02 2012 档案
摘要:前台<form action="connect.php" method="post">用户名<input type="text" name="userid"/><br>密码<input type="password" name="pwd"/><br><input type="submit" value="login" name="login"/>
阅读全文
摘要:var a=document.getElementById ("a"); a.innerHTML = res+"已存在!";<span id="a"></span>
阅读全文
摘要:前台index.jsp<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>&
阅读全文
摘要:来源:http://www.cnblogs.com/jqyp/archive/2010/09/01/1815006.html
阅读全文
摘要:<% if(!session.isNew()&&((String)session.getAttribute("action")).equals("loginsuccess")) {%> <a>欢迎您,<%=(String)session.getAttribute("userid") //前台 %><%session.setAttribute("action","loginsuccess");session.setAttribute(&qu
阅读全文
摘要:<%@ page contentType="text/html; charset=GBK"%><%@page import="java.math.BigInteger"%><%@page import="java.security.MessageDigest"%><% MessageDigest md5 = null; md5 = MessageDigest.getInstance("MD5"); String s = "123"; //这个是需要加密的
阅读全文