考虑我的以下过滤器映射web.xml
<filter-mapping>
<filter-name>rememberMeCookieFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>mustBeSignedInFilter</filter-name>
<url-pattern>/private/*</url-pattern>
</filter-mapping>
据我从我所做的测试中了解到,如果我去/private/account.jsp
, mustBeSignedInFilter 将始终首先执行(据我所知,这是因为路径更具体)。我需要先执行 rememberMeCookieFilter。
我怎么做?