📄 redirect.jsp
字号:
<%--
* @author Sujatha
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the Application : login.jsp
* Creation/Modification History :
*
* Sujatha 27-Dec-2001 Created
* Sujatha 07-Jan-2003 Incorporated Struts framework
*
* Overview of Application
* This jsp will redirects the user to the appropriate home page, based on
* roles
*
--%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page language="java" errorPage="errorHandler.jsp" %>
<logic:present role="shopowner">
<%
response.sendRedirect("/vsm/authownerhome.do");
%>
</logic:present>
<logic:present role="shopuser">
<%
response.sendRedirect("/vsm/authuserhome.do?login=true");
%>
</logic:present>
<logic:notPresent role="shopuser,shopowner">
<%
response.sendRedirect("/vsm/main.do?login=true");
%>
</logic:notPresent>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -