Spring Security默认的用户登录表单 页面源代码 <html><head><title>Login Page</title></head><body onload='document.f.j_username.focus();'> <h3>Login with Username and Password</h3><form name='f' action='/spring-security-s
public static void Login() { String url = "http://www.***.com/login"; PostMethod postMethod = new PostMethod(url); // 填入各个表单域的值 NameValuePair[] data = { new NameValuePair("account", "yijianfeng_vip@163.com"), new NameValuePai