📄 discontinued.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" %>
<%--
* @author Neelesh
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the Application : discontinued.jsp
* Creation/Modification History :
*
* Neelesh 01-May-2003 Created
*
* Overview of Application
* This jsp displays the message for discontinued shop and logs out the current
* user.
*
--%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ page import="oracle.otnsamples.vsm.services.data.Profile"%>
<%@ page import="oracle.otnsamples.util.Utilities"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.HashMap"%><HEAD>
<TITLE><bean:message key="title.registration"/></TITLE>
<!-- To prevent caching -->
<%
response.setHeader("Cache-Control","no-cache"); // HTTP 1.1
response.setHeader("Pragma","no-cache"); // HTTP 1.0
response.setDateHeader ("Expires", -1); // Prevents caching at the proxy server
%>
<%-- The shop is discontinued. So invalidate session--%>
<% session.invalidate();%>
<jsp:include page="../misc/header.jsp"/>
<TABLE width="100%" border="0" cellspacing="0" cellpadding=
"1" bgcolor="white">
<TR>
<TD width="17%" valign="top">
</TD>
<TD valign="top">
<TABLE align="center" border="0">
<TR>
<TD align="center" class="SubHeading">
<html:messages message="true" id="m">
<bean:write name="m" />
</html:messages>
<html:errors/>
<!-- Get the Message from the request object and print -->
<img src="images/warning.gif">
<%=request.getAttribute("message")==null?"":request.getAttribute("message")%>
<br><br> Click <a href="main.do">here</a>to login.
</TD>
</TR>
<TR>
<TD> </TD>
</TR>
<TR>
<TD align="center">
<%-- If a home URL is available, display it. Otherwise point
it to the previous page
--%>
<%
String homeURL = (String)request.getAttribute("Home");
if (homeURL==null) {
homeURL = "javascript:history.go(-1);";
%>
<!--
<A HREF="<%=homeURL%>"><IMG
src="images/buttons/back.gif" border="0" alt="Back"></A>
<% } else { %>
<A HREF="<%=homeURL%>"><IMG
src="images/buttons/home.gif" border="0" alt="Back"></A>
<% } %>
-->
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<jsp:include page="../misc/commonFooter.jsp"/>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -