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

📄 class.jsp

📁 JSP版Flash小游戏小偷,本人初学JSP
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="ppptech" class="ppptech.ppptech" scope="page" />
<%
String temcontent;
String content="";
String title="";
String id=request.getParameter("id");
String url="http://www.yooxi.com/bigclass/"+id;
temcontent=ppptech.connect(url);
try{
content=ppptech.getcontent(temcontent,"<td align=\"center\" bgcolor=\"#d5e9fd\" style=\"line-height:20px;\">","<table width=\"760\" height=\"44\" border=\"0\" align=\"center\">");
		content=content.replaceAll("index.htm","index.jsp");
		content=content.replaceAll("/game/","play.jsp?id=");
		content=content.replaceAll("/bigclass/","class.jsp?id=");
		content=content.replaceAll("/images/","images/");
		content=content.replaceAll("/smallclass/","small.jsp?id=");
		content=content.replaceAll("/index.jsp","index.jsp");

		title=ppptech.getcontent(temcontent,"<title>","</title>");
		title=title.replaceAll("<title>","");
		title=title.replaceAll("Yooxi.com小游戏门户","小游戏频道-MP3试听网");
}catch(Exception e){
	content="<br><br><div align=center><a href=http://www.ppptech.cn/GuestBook/ target=_blank>读取数据出错,请点此给站长留言!</a></div><br><br>";
	title="系统出错";
}
%>
<%@ include file="head.jsp" %>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
  <%=content%>
  <jsp:include page="foot.html" flush="false" />

⌨️ 快捷键说明

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