commend.jsp
来自「这个程序作什么的看了名字就知道」· JSP 代码 · 共 31 行
JSP
31 行
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="ppptech" class="ppptech.ppptech" scope="page" />
<%
String temcontent="";
String content="";
String id=request.getParameter("id");
String title="";
String url="http://www.yooxi.com/commend/"+id;
temcontent=ppptech.connect(url);
try{
content=ppptech.getcontent(temcontent,"<td width=\"40\" rowspan=\"3\">","<table width=\"760\" height=\"44\" border=\"0\" align=\"center\">");
content=content.replaceAll("index.htm","index.jsp");
content=content.replaceAll("/commend/","commend.jsp?id=");
content=content.replaceAll("/game/","play.jsp?id=");
content=content.replaceAll("/bigclass/","class.jsp?id=");
content=content.replaceAll("/top/","top.jsp?id=");
content=content.replaceAll("/index.jsp","index.jsp");
content=content.replaceAll("/update/","update.jsp?id=");
title=ppptech.getcontent(temcontent,"<title>","</title>");
title=title.replaceAll("<title>","");
title=title.replaceAll("Yooxi.com小游戏门户","小游戏频道-MP3试听网");
}catch(Exception e){
content="<div align=center><a href=http://www.ppptech.cn/GuestBook/ target=_blank>读取数据出错,请点此给站长留言!</a></div>";
}
%>
<%@ 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 + =
减小字号Ctrl + -
显示快捷键?