📄 profileredirect.jsp
字号:
<%--
* @author Sujatha
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the Application : profilredirect.jsp
* Creation/Modification History :
*
* Neelesh 27-Dec-2001 Created
*
* Overview of Application
* This jsp will redirect the profile update requests to the appropriate
* url, based on the role of the user
*
--%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page language="java" errorPage="errorHandler.jsp" %>
<logic:present role="shopowner">
<%
request.getRequestDispatcher("/authownerprofile.do?command=updateProfile").forward(request,response);
%>
</logic:present>
<logic:present role="shopuser">
<%
request.getRequestDispatcher("/authuserprofile.do?command=updateProfile").forward(request,response);
%>
</logic:present>
<logic:notPresent role="shopuser,shopowner">
<%
response.sendRedirect("/vsm/logout.do");
%>
</logic:notPresent>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -