请求j_security_check仅使用右参数返回408错误
我想从servlet向j_security_check发送请求,并从响应中获取auth cookie。码:
String url = "http://someserver:8080/j_security_check?j_username=user&j_password=qwerty";
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();
如果我输入错误的auth参数然后响应我得到一个默认的错误登录页面,但如果我把正确的auth参数我得到服务器代码408。怎么回事?
没有找到相关结果
已邀请:
1 个回复
抹持奠糙驰