?? search.jsp
字號:
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="ppptech" class="ppptech.ppptech" scope="page" />
<%
request.setCharacterEncoding("GBK");
String Page=request.getParameter("Page");
String temcontent="";
String title="";
String content="";
String keyword=new String(request.getParameter("keyword").getBytes("iso8859_1"),"GBK");
String url="";
if (Page==null||Page.equals("")){
url="http://vip.yooxi.com/search.asp?keyword="+keyword;
}else{
url="http://vip.yooxi.com/search.asp?keyword="+keyword+"&Page="+Page;
}
temcontent=ppptech.connect(url);
content=ppptech.getcontent(temcontent,"<style","頁 </td>");
content=content.replaceAll("<td align=\"center\" height=\"18\"><a href=\"http://vip.yooxi.com/comment.asp?","<!--");
content=content.replaceAll("收藏</a></td>","-->");
content=content.replaceAll("http://www.yooxi.com/game/","play.jsp?id=");
%>
<title><%=keyword%>搜索結果</title>
<%=content%>頁 </td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -