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 是正在设置的会话对象。代码不起作用。请指教。