こんにちは、誰でもそれを手伝ってもらえますか、私は一晩中過ごしましたが、それを機能させることができませんでした:(これは私のweb.xmlにあります
<security-constraint>
<web-resource-collection>
<web-resource-name>Welcome</web-resource-name>
<description>Accersible by authorized user only</description>
<url-pattern>/Welcome.jsp</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>member</role-name>
<role-name>manager</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/Login.jsp</form-login-page>
<form-error-page>/wrongUser.jsp</form-error-page>
</form-login-config>
</login-config>
wearg のユーザー名またはパスワードを入力すると、間違った User.jsp (データベースに接続する必要があります) につながりますが、正しいユーザー名とパスワードを入力すると、次のように表示されます。は構文的に正しくありません (フォーム ログイン ページへの無効な直接参照)。
誰がそれの何が問題なのか考えていますか? 前もって感謝します