JavaScript-->js - Java / Java EE
ÔõÑù½«jspÒ³ÃæµÄJavaScript´úÂëת»»³ÉjsÎļþ£¿
up
°Ñ<script> ±êÇ©ÀïµÄ´úÂë ²»°üÀ¨<script>±êÇ© ¸´ÖƵ½Ò»¸öºó׺Ϊ.jsµÄÎļþÖС£
È»ºóÔÙÒ³ÃæÀïͨ¹ý<script language="javascript" src="<%=request.getContextPath()%>/xxx.js"></script> ÒýÓÃ
jsÎļþÖÐÓÐЩµØ·½Ð´·¨Ó¦¸Ã²»Ò»Ñù°É£¬±ÈÈ磺jsÖÐµÄ ¡®===¡¯£¬ÎÒÏÖÔÚµÄ×ö·¨ºÍÄã˵µÄÒ»Ñù£¬µ«ÊÇjspÖÐÈ´µ÷Óò»µ½£¿
ÕýÈ·µÄÒýÈëÖ®ºó,È»ºóµ÷ÓÃÀïÃæµÄ·½·¨Ãû×Ö,Ó¦¸Ã¿ÉÒÔµ÷Óõİ¡!!! ÒýÓò»µ½µÄ»°Äã´úÂëÌùÉÏÀ´Ù©Ù©£¡!
¿ÉÒԵġ£¡£ÄãÊÔÊÔ¡£¡£ÕâÊÇÏ൱»ù´¡Ð´µÄÎÊÌâ¡£¡£Ó¦¸ÃÊÇÄãÄǸöµØ·½ÒýÈëÎļþʱ³öÁËЩС´í£¡£¡£¡
up.. up..
²»»áÒýÓò»µ½, ×Ðϸµã, ÒýÓõÄʱºò±ðŪ´íÁË
Ïà¹ØÎÊ´ð£º
ÇëÎÒÓÃFCKÉÏ´«Îļþ,ÔÚ±¾µØµÄwindows»úÉϲâÊÔ¿ÉÒÔ£¬µ«²¿Êðµ½linux·þÎñÆ÷ÉϾÍÉÏ´«²»ÁËÎļþ£¬ÉÏ´«Îļþʱһֱ¿¨ÔÚÄÇÀï¡£Íû¸÷λ´óϺָµã£¬Ð»Ð»£¡
·¹ý£¬°ïÄ㶥һÏ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
ÉÏ´«ÎļþµÄ·¾¶ÎÊÌ⣬ ......
ΪʲôHTMLÒÔ¼°Ò»Ð©ÆäËü±êÇ©»áÏÔʾһЩÌض¨±íÏÖÐÎʽÄØ£¿ÈçHTMLÖеĻ»ÐбêÇ©<BR/>ÔڵײãÊÇÔõÑùʵÏÖµÄÄØ£¿ÏÖʵµÄÔÀíÊÇʲôÄØ
È¥W3C¹Ù·½ÍøÕ¾ÉÏ£¬¿´¿´°É£¡ÎÒÏëÒ»¿´Äã¾ÍÃ÷°×ÁË
ÎҲºͱàÒëÔÀíÓйأ¬ä¯ÀÀÆ÷Àï¿É ......
ÓÐËÓÃjava×ö¹ý´òÓ¡·¢Æ±µÄ³ÌÐò£¬¸Ð¾õÕâ·½Ãæ²»ÊǺܺÿØÖÆ£¬Ï£Íû¸øµã½¨Ò飬×îºÃÄܸø³ö´úÂë
¼òµ¥µã¾Íµ÷ÓÃwindow.print()
ÄãÒ²¿ÉÒÔ°ÑÏÂÃæ´úÂë·Åµ½ÄãJSPÖÐ:
<html>
<head>
<title> ......
ÇëÎʸ÷λ¸ç¸ç½ã½ã£¬ÈçºÎÔËÓÃÏֳɵÄÄ£°åÀ´ÖÆ×÷ƯÁÁµÄJSPÍøҳѽ,»ØÕßÓзÖ!
×Ô¼º¶¥Ï£¬×ÜÓиßÊÖ°É,ÆÚ´ýÖÐ......
Èç¹ûÖ±½ÓÒýÓýøÈ¥
¿ÉÒÔÖ±½ÓÓÃjspµÄÖ¸ÁҲ¿ÉÒÔÓÃfreemarkÒýÓ㬼ǵøø·Ö
лл¸÷λÁË£¬¿´À´Î ......
ÔõôÑù½«id´«¹ýÈ¥°¡£¿£¿£¿ÊǼòµ¥µÄ´«¡£¡£¡£ÔÚµØÖ·À¸ÖÐдidºÅ
LZ ºÃÓÄĬ£¡²»ÖªµÀÄãµÄÒâ˼£¿
ÊÇÏë°ÑID ´«µ½ACTION ? ͨ¹ýURl id=?
²»¹»Ïêϸ ±ðÈ˲»ÖªµÀÔõÑù°ïÄã
../XXXXX.do?id=XXXX&id2=XXXXX
......