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

½«jspÒ³ÃæÖÐtableµ¼³öµ½doc

<SCRIPT LANGUAGE="javascript">
       //Ö¸¶¨Ò³ÃæÇøÓòÄÚÈݵ¼ÈëWord
       function AllAreaWord() {
       var oWD = new ActiveXObject("Word.Application");
       var oDC = oWD.Documents.Add("",0,1);
       var oRange =oDC.Range(0,1);
       var sel = document.body.createTextRange();
       sel.moveToElementText(PrintA);
       sel.select();
       sel.execCommand("Copy");
       oRange.Paste();
       oWD.Application.Visible = true;
       //window.close();
       }
</SCRIPT>
Ó¦ÓþÙÀý£º
<table width="100%" align=center border="0" cellpadding="0" cellspacing="0" id = "PrintA">
    <tr><td>…</td></tr>
       </table>


Ïà¹ØÎĵµ£º

JSP×Ô¶¨Òå±êÇ©


Ò»¡¢JSP×Ô¶¨Òå±êÇ©¼ò½é
±êÇ©ÊÇÒ»ÖÖXMLÔªËØ£¬Í¨¹ý±êÇ©¿ÉÒÔʹJSPÍøÒ³±äµÃ¼ò½à²¢ÇÒÒ×ÓÚά»¤£¬»¹¿ÉÒÔ·½±ãµØʵÏÖͬһ¸öJSPÎļþÖ§³Ö¶àÖÖÓïÑÔ°æ±¾¡£ÓÉÓÚ±êÇ©ÊÇXMLÔªËØ£¬ËùÒÔËüµÄÃû³ÆºÍÊôÐÔ¶¼ÊÇ´óСдÃô¸ÐµÄ
±ê×¼JSP±êÇ©ÊÇÓÃÀ´µ÷ÓÃJavaBean×é¼þµÄ²Ù×÷£¬´¦Àí¶¨ÏòÇëÇóÒÔ¼ò»¯JSPÒ³Ã濪·¢Óëά»¤¡£JSP¼¼ÊõÌṩÁËÒ»ÖÖ·â×°ÆäËü¶¯Ì¬ÀàÐÍ ......

JSP + SQL server 2000¿ª·¢»·¾³µÄ´î½¨

     ´Ó×òÌ쿪ʼ¾ÍÒ»Ö±ÔÚÍøÉϲéÕÒÊý¾Ý¿âΪSQL server 2000 µÄJSP¿ª·¢»·¾³µÄ´î½¨£¬µ½ÏÖÔÚΪֹÖÕÓÚÄܹ»Õý³£Áª½Ó²¢·ÃÎÊ¡£ÒÔÏÂÊǴµÄ²½Ö裺
1¡¢´ÓÍøÉÏÏÂÔØÒ»¸öSQL server 2000 ¸öÈË°æµÄ°²×°°ü£¬°´ÕÕÌáʾ²Ù×÷£¬µ±ÔÚÉí·ÖÑé֤ʱ£¬Ñ¡Ôñ»ìºÏģʽ£¬Óû§saµÄÃÜÂë¿ÉÒÔΪ¿Õ£¬Ò²¿ÉÒÔ²»Îª¿Õ¡£
2¡¢´ÓÍøÉÏÏÂÔØÒ»¸öSQ ......

JFreeChartÔÚJSPÖеÄÓ¦ÓÃʵÀý

    JFreeChart ÊÇÒ»¸ö¿ªÔ´µÄ JAVA ÏîÄ¿£¬ËüÖ÷ÒªÓÃÀ´¿ª·¢¸÷ÖÖ¸÷ÑùµÄͼ±í£¬ÕâЩͼ±í°üÀ¨£º±ýͼ¡¢Öù״ͼ ( ÆÕͨÖù״ͼÒÔ¼°¶ÑÕ»Öù״ͼ ) ¡¢Ïßͼ¡¢ÇøÓòͼ¡¢·Ö²¼Í¼¡¢»ìºÏͼ¡¢¸ÊÌØͼÒÔ¼°Ò»Ð©ÒDZíÅ̵ȵȡ£ÔÚÕâЩ²»Í¬Ê½ÑùµÄͼ±íÉÏ¿ÉÒÔÂú×ãÄ¿Ç°ÉÌҵϵͳµÄÒªÇó¡£ JFreeChart ÊÇÒ»ÖÖ»ùÓÚ JAVA ÓïÑÔµÄͼ±í¿ª·¢¼¼Êõ¡£ JFr ......

Á˽âJSPÖÐrequestÊôÐÔµÄÓ÷¨


±¾ÎĽéÉÜJSPÖÐrequestÊôÐÔµÄÓ÷¨£¬ÒÔ¼°request.getParameter() ºÍrequest.getAttribute() Çø±ð¡£
Ò»¡¢request.getParameter() ºÍrequest.getAttribute() Çø±ð
1.request.getParameter()È¡µÃÊÇͨ¹ýÈÝÆ÷µÄʵÏÖÀ´È¡µÃͨ¹ýÀàËÆpost£¬getµÈ·½Ê½´«ÈëµÄÊý¾Ý£¬request.setAttribute()ºÍgetAttribute()Ö»ÊÇÔÚwebÈÝÆ÷ÄÚ²¿Á÷ת£¬½ ......

FckeditorºÍJSP(Java)ÏîÄ¿µÄÕûºÏʵÀý

(תÔرêÇ©£ºfckeditorit ·ÖÀࣺJava)
1.½«FCKeditorĿ¼ÏµÄeditor¿½±´µ½ÏîÄ¿µÄWebContentĿ¼ÏÂ
2.²¢°ÑECKeditor-2.3.jar ºÍ commons-fileupload.jar¿½±´µ½ÏîÄ¿\WebContent\WEB-INF\libĿ¼ÏÂ
3.°Ñ FCKeditor.tld¿½±´µ½ÏîÄ¿\WebContent\WEB-INFÏÂ
4.ÔÚweb.xmlÀïÌí¼ÓÈçÏ´úÂë
´úÂë
<servlet>    ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ