?? update.jsp
字號(hào):
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="ppptech" class="ppptech.ppptech" scope="page" />
<%
String content="";
String title="";
String temcontent="";
String id=request.getParameter("id");
String url="http://www.yooxi.com/update/"+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("/images/","images/");
content=content.replaceAll("/smallclass/","small.jsp?id=");
content=content.replaceAll("/smallclasscommend.jsp?id=","small.jsp?id=commend/");
content=content.replaceAll("/index.jsp","index.jsp");
content=content.replaceAll("/top/","top.jsp?id=");
content=content.replaceAll("/update/","update.jsp?id=");
title=ppptech.getcontent(temcontent,"<title>","</title>");
title=title.replaceAll("<title>","");
title=title.replaceAll("Yooxi.com小游戲門戶","小游戲頻道—MP3試聽網(wǎng)");
}catch(Exception e){
content="<br><br><div align=center><a href=http://www.ppptech.cn/GuestBook/ target=_blank>讀取數(shù)據(jù)出錯(cuò),請(qǐng)點(diǎn)此給站長(zhǎng)留言!</a></div><br><br>";
title="系統(tǒng)出錯(cuò)";
}
%>
<%@ include file="head.jsp" %>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%=content%>
<jsp:include page="foot.html" flush="false" />
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -