jsp »º´æ£¬ html »º´æ£¬ ajax»º´æ,½â¾ö·½·¨
jsp »º´æ£¬ html »º´æ£¬ ajax»º´æ,½â¾ö·½·¨
url:http://blog.csdn.net/oklzh/archive/2009/08/14/4445722.aspx
ÓйØÒ³Ã滺´æÎÊÌ⣮Õâ¸öÎÊÌâÉÏÍøÕÒÁ˺ö࣮µ«·¢¾õ¸÷ÖÖ½â¾ö·½·¨£¬¶¼±Ë´Ë·ÖÀ룬ûÓÐһƪͳһµÄ½â¾ö·½·¨£¬±¾È˽üÈÕ£¬Ò²Óöµ½ÁËÒ³Ã滺´æµÄÎÊÌ⣬¸ù¾ÝÍøÉϸ÷Ò³Ã滺´æµÄ½â´ð£¬×öÁËÒ»¸ö×ܽᡣ
1.·þÎñÆ÷¶Ë»º´æµÄÎÊÌ⣬ ·ÀÖ¹JSPÒ³Ã滺´æ:
view plaincopy to clipboardprint?
<%
// ½«¹ýÆÚÈÕÆÚÉèÖÃΪһ¸ö¹ýȥʱ¼ä
response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
// ÉèÖÃ HTTP/1.1 no-cache Í·
response.setHeader("Cache-Control", "no-store,no-cache,must-revalidate");
// ÉèÖà IE À©Õ¹ HTTP/1.1 no-cache headers£¬ Óû§×Ô¼ºÌí¼Ó
response.addHeader("Cache-Control", "post-check=0, pre-check=0");
// ÉèÖñê×¼ HTTP/1.0 no-cache header.
response.setHeader("Pragma", "no-cache");
%>
<%
// ½«¹ýÆÚÈÕÆÚÉèÖÃΪһ¸ö¹ýȥʱ¼ä
response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
// ÉèÖÃ HTTP/1.1 no-cache Í·
response.setHeader("Cache-Control", "no-store,no-cache,must-revalidate");
// ÉèÖà IE À©Õ¹ HTTP/1.1 no-cache headers£¬ Óû§×Ô¼ºÌí¼Ó
response.addHeader("Cache-Control", "post-check=0, pre-check=0");
// ÉèÖñê×¼ HTTP/1.0 no-cache header.
response.setHeader("Pragma", "no-cache");
%>
µ±È»£¬Ã¿Ò»¸öÒ³Ã涼°üº¬ÕâЩ´úÂë»áºÜ·±Ëö£¬¿ÉÒÔͨ¹ý×Ô¶¨Òå¹ýÂËÆ÷£¨Filter£©µÄ·½·¨À´´¦ÀíÏà¹ØµÄÒ³Ãæ
2.·ÀÖ¹htmlÒ³Ã滺´æ
view plaincopy to clipboardprint?
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
3.·ÀÖ¹Ajax»º´æ
Èç¹û£¬ÄãµÄÒ³Ã棬ÒѾÉèÖÃÁË·ÀÖ¹JSP,HTMLµÄÒ³Ã滺´æ£¬µ«·¢¾õÒ³Ã滺´æ£¬Ê¼ÖÕ´æÔÚ£¬¾ÍÒª¿¼ÂÇÊÇ·ñAjaxÔì³ÉµÄÒ³Ã滺´æÁË¡£
1£©ÉèÖ
Ïà¹ØÎĵµ£º
windows Media Player 9.0ÍøÒ³²¥·ÅÆ÷
£¨mp3.wma.wmv.asf£©
ÒÔÏÂͼƬΪһ°ã²¥mp3.wmaÎļþʱµ÷ÓÃwindows×Ô´ø²¥·ÅÆ÷windows Midia Player9.0ËùÏÔʾÍâ¹Û£¬·Ç9.0°æËùÏÔʾµÄÃæ°åÍâ¹Û¿ÉÄܲ»Í¬£¡
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
´úÂë¼ò½é£º
width£¨²¥·ÅÆ÷Ãæ°å¿í¶È£©
height£¨²¥·ÅÆ÷Ãæ°å¸ß¶È£©
autostart£¨×Ô¶¯² ......
³õѧBSP, Ò»Ö±ÔÚÏëÈçºÎʵÏÖAJAXЧ¹û, Æðµ½ÎÞÒâ¿´µ½ÕâƪÍøÎÄ, ²ÅÓÐÒ»ÖÖ»óÈ»¿ªÀʵĸоõ, ¿÷ÎÒ»¹¹ýASP/ASP.net , ÕæÊÇ×öÁ˼¸ÄêABAP×öɵÁË,ºÇºÇ
ÆäʵBSPºÍASPºÜÏó, ¿ÉÒÔ²ÉÓÃASPµÄ·½·¨À´ÊµÏÖAJAXÓ¦ÓÃ, ÎÞ·ÇÊǵ÷ÓÃxmlHttpRequest¶ÔÏó¶ø¼º.
ÔÎĵØÖ·: http://scnblogs ......
Ó¢ÎÄÔ°æ¼ûhttp://www.masonbook.com/¡£
¼ò½é
MasonÊÇÒ»¸öÇ¿´óµÄ£¬¿ÉÒÔ½«PerlǶÈëÎı¾µÄÄ£°åÒýÇæ¡£ËüÌṩÁËÐí¶àÌØÐÔ£¬°ïÖúÄãʹÓÿÉÖØÓõÄ×é¼þ´´½¨¶¯Ì¬WebÕ¾µã¡£³ý´ËÖ®Í⣬Ëü»¹ÌṩÁ˺ܶàµÄÆäËûÌØÐÔ£º
¿ÉÒÔ´´½¨±ê×¼µÄ¡¢¿ÉÖØÓõģ¬Ïñheader¡¢footer£¬»òÕ߲˵¥ÕâÑùµÄ×é¼þ¡£ÄãÖ»ÐèÒªÔÚÒ»¸öµØ·½½øÐиı䡣
ÍêÕûµÄWebÇëÇóµÄ ......
jspÖÐÎÄÏÔʾÂÒÂë½â¾ö·½°¸2006-12-27 22:56
Ò»¡¢JSPÒ³ÃæÏÔʾÂÒÂë
¶þ¡¢±íµ¥Ìá½»ÖÐÎÄʱ³öÏÖÂÒÂë
Èý¡¢Êý¾Ý¿âÁ¬½Ó
´ó¼ÒÔÚJSPµÄ¿ª·¢¹ý³ÌÖУ¬¾³£³öÏÖÖÐÎÄÂÒÂëµÄÎÊÌ⣬¿ÉÄÜÒ»ÖÁÀ§ÈÅ×ÅÄú£¬ÎÒÏÖÔÚ°ÑÎÒÔÚJSP¿ª·¢ÖÐÓöµ½
µÄÖÐÎÄÂÒÂëµÄÎÊÌâ¼°½â¾ö°ì·¨Ð´³öÀ´¹©´ó¼Ò²Î¿¼¡£
Ò»¡¢JSPÒ³ÃæÏÔʾÂÒÂë
ÏÂÃæµÄÏÔʾҳÃæ(display.jsp)¾Í³öÏÖÂÒ ......
×î½ü¿´SSHÐèҪʹÓÃÑéÖ¤Â룬ËùÒÔÔÚÍøÉÏÕÒÁËһϡ£Õâ¸ö´úÂëÔÚÍøÉÏÒѾÁ÷´«ºÜ¾ÃÁË£¬´ó²¿·Ö¶¼´óͬСÒ죬Ìù³öÀ´ÒÔ±¸ºóÓá£
´úÂëÈçÏÂ(image.jsp)£º
<%@ page contentType="image/jpeg" import="java.awt.*,
java.awt.image.*,java.util.*,javax.image ......