⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strutssuccess.jsp

📁 一个用struts tiles的在线影院web系统
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GB18030"    pageEncoding="GB18030" import="com.eline.vod.utils.*"%>
<%
String returnURL = (String) request.getAttribute("rt");
Integer obj1 = (Integer) request.getAttribute("act");
int action = -1;
if (obj1 != null)
	action = obj1.intValue();

String message = "操作完成!";
switch (action) {
case	1:
	message = "恭喜您!注册成功,您登陆之后就可以观看我们所有的影片了!";
	break;}
System.out.println("act=" + request.getAttribute("act"));
System.out.println("rt=" + request.getAttribute("rt"));

%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=GB18030"><title>Insert title here</title><%if (returnURL != null) { %>
<meta http-equiv="refresh" content="5;url=<%=returnURL %>" />
<%} %><link rel=stylesheet href="<%=request.getContextPath()%>/stylesheet/global.css" type="text/css" />
</head><body><b>操作成功</b><br/>
<%=message%><br/>
<%if (returnURL != null){ %>
<br/>请稍候5秒钟,服务器将自动跳转到相应的页面!
<%} %><a href="<%=SiteUrls2.getInstance().getHomeURL() %>">[返回首页]</a><a href="<%=SiteUrls2.getInstance().getProperty("login") %>">[立即登录]</a>
</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -