Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ......

javascript»ñÈ¡²¢·ÖÎöURL(html?id=*µÈÎÊÌâ)

1.»ñÈ¡URL
»ñÈ¡urlµÄ·½·¨£¬Ö±½ÓÓÃlocation¾Í¿ÉÒÔÁË£¬window.location»òwindow.loation.hrefÒ²¿ÉÒÔ¡£
2.·ÖÎöURL
ÔËÓÃlocation»ñÈ¡µÄurlµÄÊôÐÔΪobject£¬Òª¶ÔÆä½øÐÐ×Ö·û´®µÄ·ÖÎö²Ù×÷£¬ÐèÒªÏȽ«Æäת»»Îª×Ö·û´®¡£
ÓÃlocationÀ´½øÐд¦Àí£¬Ê×ÏȽ«Æäת»»Îª×Ö·û´®£¬Óú¯ÊýtoString()£¬URL.toString();
¸½Ò»Ð©URL²ÎÊý
ÍêÕûµÄU ......

flexµÄCanvas¿ÉÒÔºÍHTMLµÄDIVÒ»Ñù×ö¿é×´µÄÍø¸ñ²¼¾Ö

Óõ½µÄMX±êÇ©£ºconstraintColumns¡¢ConstraintColumn¡¢constraintRows¡¢ConstraintRow
¸ø´ó¼Ò˵˵ǰÌáÇé¿ö£ºÔÚ×öMXML²¼¾Öʱ£¬ÒªÇ¶Ì׺ܶà²ã¼¶£¬ÕâÀïÃæÓкܶàÎÊÌ⣺
1¡¢Ç¶Ì×Ì«¶à²ã¼¶»áÓ°ÏìЧÂÊ£¡
2¡¢Ç¶Ì×Ì«¶à²ã¼¶£¬´úÂëµÄ¿É¶ÁÐÔ¡¢¿Éά»¤ÐԲ
3¡¢Ç¶Ì×Ì«¶à²ã¼¶ÊÇÒòΪCanvas¡¢Vbox¡¢Hbox¹¦Äܵ¥Ò»£¬²»ÄÜÂú×ãÐèÒª£¬¶ø²»ÊDZØÐ ......

HTMLÖеĸñʽ±êÇ©µÄ¼òµ¥½²½â

¸ñʽ±êÇ©ÊÇǶÌ×ÔÚ<body></body>Ö®Äڵġ£
1.<br>»Ø³µ ±íÊ¾Ç¿ÖÆÐԵĻ»ÐУ¬Êǵ¥¶À±êÇ©¡£
2.<nobr></nobr>²»»»ÐÐ ±íʾÔÚ±ê¼ÇÄÚ²»»»ÐС£ÓÃÓÚ·ÀÖ¹ä¯ÀÀÆ÷½«±êÇ©¶ÔÖеÄÄÚÈÝ×Ô¶¯»»ÐС£
±ÈÈ磺ÎÒÃÇËùдµÄ´úÂë»òÆäËû²»ÄÜ·Ö¿ªµÄ¶«Î÷¡£
3.<wbr></wbr>Ç¿ÖÆ»»ÐÐ ÆäÔÚ<nobr></ ......

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ºÅ