Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JSP でコードを開発する。
ログイン後、セッションを設定し、「戻るボタン」がログインページにリダイレクトされないようにするために、ログインページでこれを使用しました:
<c:if test="${not empty user}"> <c:redirect url="home.jsp"></c:redirect></c:if>
user は、設定されているセッション オブジェクトです。コードが機能しません。ご意見をお聞かせください。