我有一个websphere 6.1配置和应用程序正在运行,但一些请求转到j_security_check,但最后一个(有与J_security_check关联的过滤器)将生成404错误。与Websphere 6.1发生奇怪的404/j_security_check错误
例如:
(1)用户员额: http://localhost:9081/Page/j_security_check 而且它适用于过滤器1, 但后来请求对过滤器2得到一个404错误。
(1a)中。注意,下面的过滤器与相关联的j_security_check:
<filter-mapping>
<filter-name>Filter1</filter-name>
<url-pattern>/j_security_check</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Filter2</filter-name>
<url-pattern>/j_security_check</url-pattern>
</filter-mapping>
(2) 代码到达过滤器的代码:
chain.doFilter(REQ,RES);
WASReqURL具有以下cookie值,这是由j_security_check需要: http://localhost:9081/Test/test.html
理想的情况下,客户端应该结束了对“http://localhost:9081/Test/test.html”
但是,我在随后的请求,得到一个404错误j_security_check: http://localhost:9081/Page/j_security_check
此外,这里是web.xml文件中的相关片段。
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/Go</form-login-page>
<form-error-page>/Go</form-error-page>
</form-login-config>
</login-config>
的问题是,什么从WebSphere角度控制 'J_security_check'。
详情: RAD7 WebSphere服务器6.1,本地箱
我不知道我明白了。后续请求是来自经过身份验证的用户的第二次请求,是未经身份验证的用户的第二次请求还是已转发的请求? – Konrad 2009-02-12 23:35:56