profileredirect.jsp

来自「噶额外噶外骨骼感广泛高热感 就 啊啊」· JSP 代码 · 共 37 行

JSP
37
字号

<%--
 * @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 + =
减小字号Ctrl + -
显示快捷键?