Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÈÃhtmlÒÔ¼°jspÒ³Ãæ²»±»»º´æ

¶ÔÓÚHTMÍøÒ³£¬¼ÓÈ룺
<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<meta HTTP-EQUIV="expires" CONTENT="0">
È»ºó£¬jspÒ³ÃæÖмÓÈ룺
<%
     response.setHeader("Cache-Control","no-store");
     response.setHeader("Pragrma","no-cache");
     response.setDateHeader("Expires",0);
%>


Ïà¹ØÎĵµ£º

jspÉú³Éhtml¾²Ì¬Ò³Ãæ´úÂë

<%@ page contentType="text/html;charset=GBK"%>
<%@page import="java.util.*"%>
<%@page import="java.io.*" %>
<%
//ÔÚÕâÀïÈç¹ûд³É“WEB-INF\templates\template.htm”³ÌÐò»á±¨´í
 String filePath = request.getRealPath("/")+"WEB-INF/templates/template.htm"; &nbs ......

´î½¨JSP ×éºÏMyEclipse£«MySQL£«Tomcat¿ª·¢»·¾³

Ò»¡¢°²×°JDK ¡¡¡¡Ê×ÏÈÏÂÔØJDK 5.0£¨JDK 5.0µÄÏÂÔØÒ³ÃæÎª£ºhttp://java.sun.com/j2se/1.5.0/download.jsp£©£» È»ºóÔËÐÐJDK 5.0°²×°³ÌÐòjdk-1_5_0_06-windows-i586-p.exe£¬°²×°¹ý³ÌÖÐËùÓÐÑ¡Ïî±£³ÖĬÈÏ£»×îºóÅäÖÃJDKµÄ»·¾³±äÁ¿£ºÔÚ“ÎҵĵçÄÔ”ÉϵãÓÒ¼ü—>“ÊôÐÔ”—>“¸ß¼¶”& ......

99¿î¸ßÖÊÁ¿Ãâ·Ñ(X)HTML/CSSÄ£°å

99¿î¸ßÖÊÁ¿Ãâ·Ñ(X)HTML/CSSÄ£°å
°æÈ¨ÉùÃ÷£º×ªÔØÊ±ÇëÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂԭʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷
http://iamsam.blogbus.com/logs/49215789.html
¡¡¡¡´ó¼Ò¶¼Çå³þÒ»¸öÍøÕ¾ÏóÕ÷×ÅÄãºÍÄãµÄÆ·ÅÆ£¬ÕâÈ¡¾öÓÚÄãÈçºÎ¹¹½¨×Ô¼ºµÄÍøÕ¾¡£ÕýÒòΪWordpressÔ½À´Ô½Êܵ½»¥ÁªÍøÉè¼ÆÈºÌåµÄ¹Ø×¢£¬Ëü²¢²»´ú±í×î»ù±¾µÄ(X)HTML/CSSºÜ³ó¡¢ºÜÔ ......

htmlÀïtitleÊôÐÔ»»Ðеķ½·¨

ÖÚËùÖÜÖª£¬¶ÔÓÚÁ´½ÓºÍͼƬ£¬ÎÒÃÇ¿ÉÒÔͨ¹ýÌí¼Ótitle
Êô
ÐÔÒÔÏÔʾһЩ˵Ã÷ÎÄ×Ö£¬Ò»°ãÇé¿öÏ£¬ÕâЩÎÄ×Ö¶¼ÊÇÏÔʾ³ÉÒ»ÐУ¬ÄÇôÓÐûÓа취ÈÃËüÒÔ¶àÐеķ½Ê½ÏÔÊ¾ÄØ£¿½â¾öµÄ·½·¨ÓÐÁ½ÖÖ£º
1.½«title
Êô
ÐԷֳɼ¸ÐÐÀ´Ð´£¬ÀýÈ磺
<a href=#" title
="˵Ã÷Ò»
˵Ã÷¶þ
˵Ã÷
Èý">Ó¡ÏóÅÉ</a> ......

jspÖÐͨ¹ýURLµØÖ·»ñÈ¡¸ÃµØÖ·Ò³ÃæÖеľ²Ì¬Ò³Ãæ


try {
            URL url = new URL("http://www.163.com");
            InputStream is = url.openStream();
            byte[] buffer = new byte[1024];
           ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ