1、在你的JSP页面中加入以下代码(根据实际情况的不同,有所区别,以下为例子):<% if (request.getAttribute("hospitalEntitys") == null ) {%><jsp:forward page="actionServlet?actionCode=hospital&methodCode=login" ></jsp:forward><% }%>
1、在你的JSP页面中加入以下代码(根据实际情况的不同,有所区别,以下为例子):<% if (request.getAttribute("hospitalEntitys") == null ) {%><jsp:forward page="actionServlet?actionCode=hospital&methodCode=login" ></jsp:forward><% }%>