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

»ùÓÚJSPµÄÎïÁ÷¹ÜÀíƽ̨

Ñ¡ÌâÒÀ¾Ý¼°Ñо¿ÒâÒå
ÏÖ´úÎïÁ÷£¬ÊÇÖ¸²úÆ·´ÓÉú²úµØµ½Ïû·ÑµØÖ®¼äµÄÕû¸ö¹©Ó¦Á´£¬ÔËÓÃÏȽøµÄ×éÖ¯·½Ê½ºÍ¹ÜÀí¼¼Êõ£¬½øÐиßЧÂʼƻ®¡¢¹ÜÀí¡¢ÅäËÍÁ´£¬ÎªÓû§Ìṩ¶à¹¦ÄÜ¡¢Ò»Ì廯µÄ×ÛºÏÐÔ·þÎñ£¬´Ó¶ø´ïµ½½µµÍÁ÷ͨ³É±¾¡¢Ìá¸ßÉú²úЧÂÊ¡¢Ôö¼ÓÆóÒµÀûÈó¡£µÄÐÂÐÍ·þÎñÒµ¡£Ëüͨ¹ý¶ÔÔËÊä¡¢²Ö´¢¡¢×°Ð¶¡¢¼Ó¹¤¡¢ÕûÀí¡¢ÅäËÍÓëÐÅÏ¢µÈ·½ÃæÓлú½áºÏ£¬ÐγÉÍêÕûµÄ¹©Ó¦
Ñ¡ÌâµÄÑо¿ÏÖ×´
Ëæ×ÅÈ«Çò¾­¼ÃÒ»Ì廯ºÍÐÅÏ¢¼¼ÊõµÄ·ÉËÙ·¢Õ¹£¬ÆóÒµ»ñÈ¡Éú²ú×ÊÁϵÄ;¾¶Óë²úÆ·ÓªÏúµÄ·¶Î§ÈÕÇ÷À©´ó£¬Í¬Ê±£¬ÏÖ´úÆóÒµ¾ºÕùµÄ½á¹ûʹÉú²úÆóÒµºÍÉÌÒµÆóÒµ¶¼½øÈëÁËÒ»¸ö΢Àûʱ´ú£¬²úÆ·µÄ³É±¾ºÍÀûÈó±äµÃ·Ç³£Í¸Ã÷¡£¶øµç×ÓÉÌÎñµÄÍƹ㣬¼Ó¿ìÁËÊÀ½ç¾­¼ÃµÄÒ»Ì廯£¬ÔÚÍøÉÏʵÏÖÉÌÁ÷»î¶¯ºó£¬ÐèÒªÒ»¸öÓÐЧµÄÏÖ´úÎïÁ÷¶ÔʵÎïÌṩµÍ³É±¾¡¢¸ßЧÂÊ¡¢ÊÊʱ¡¢ÊÊÁ¿µÄתÒÆ·þÎñ£¬ÕâʹÏÖ´úÎïÁ÷ÔÚÕû¸öÉÌÎñ»î¶¯ÖÐÕ¼ÓоÙ×ãÇáÖصĵØλ¡£µç×ÓÉÌÎñ´øÀ´¶ÔÎïÁ÷µÄ¾Þ´óÐèÇ󣬶øÎïÁ÷¶Ôµç×ÓÉÌÎñ·¢Õ¹µÄÖÆԼƿ¾±Ò²ÈÕÒæÍ»³ö¡£ÕâÆÈÇÐÐèÒªÒ»ÖÖеÄģʽÀ´±ä¸ïÉç»áÉú²ú¡¢Îï×ÊÁ÷ͨ¡¢ÉÌÆ·½»Ò×¼°Æä¹ÜÀí·½Ê½¡£ÏÖ´úÎïÁ÷ºÍµç×ÓÉÌÎñµÄЭͬ·¢Õ¹ÕýºÃ˳ӦÁËÕâÒ»ÒªÇó¡£Òò´Ë£¬Ñо¿µç×ÓÉÌÎñÓëÏÖ´úÎïÁ÷µÄЭͬ·¢Õ¹ÏÔµÃÓÈΪÆÈÇкÍÖØÒª£¬È»¶øÔÚ¾ßÌåʵʩ·½Ã棬·¢ÏÖÐí¶àÎÊÌ⣺Эͬ·¢Õ¹µÄÔË×÷ģʽ»¹´¦ÓÚ̽Ë÷¡¢ÊÔÑéºÍ·¢Õ¹ÖУ¬ÓÉ´ËÒý·¢µÄһϵÁÐÎÊÌâÓдýÑо¿¡¢Ð­µ÷ºÍ½â¾ö¡£¶ø¶ÔÕâЩÎÊÌâ½øÐÐÑо¿£¬ÎÞÂÛÔÚÀíÂÛÉÏ»¹ÊÇÔÚʵ¼ùÉ϶¼ÓкÜÖØÒªµÄÒâÒå¡£
ÍøÂçƾ½èÆä׿ԽµÄ»¥¶¯ÐÔÓë±ã½ÝµÄ½»Á÷ÊÖ¶ÎÕý³ÉΪ×îÓз¢Õ¹Ç±Á¦Óëǰ;µÄÐÂÐËýÌ壬³ÉΪÖÚÉ̼ұ¶Îª¹Ø×¢µÄÐû´«Èȵ㡣Ðí¶àÐÐÒµµÄÏÈ·æÆóÒµ¶¼ÒѾ­²ÉÓû¥ÁªÍø¼¼Êõ£¬Îª¿Í»§¡¢ºÏ×÷»ï°éÔÚÍøÉÏÌṩÐÅÏ¢·þÎñ£¬²¢ÇÒ½èÖú»¥ÁªÍø£¬ÃôÈñµÄ²¶×½ÉÌ»ú¡£
×÷Ϊרҵ´ÓÊÂÎïÁ÷ÐÐÒµµÄ´óÐÍÆóÒµ£¬ÌìÏÂͨáéÎïÁ÷¹«Ë¾¸üÐèÒª½¨ÉèºÃÍøÕ¾£¬½«Æä×÷Ϊ¶ÔÍâÐû´«¡¢·þÎñºÍ½»Á÷µÄÔØÌ壬À´ÅäºÏ¹«Ë¾µÄѸËÙ·¢Õ¹£¬Ê¹ÍøÕ¾¾ßÓÐÏÊÃ÷µÄÐÐÒµÌØÉ«£¬Ê¹¸ü¶àµÄÆóҵͨ¹ýÍøÂçÀ´½áÃËÌìÏÂͨáéÎïÁ÷¹«Ë¾£¬Ê¹¸ü¶àµÄ¿Í»§Í¨¹ýÍøÂçÀ´Á˽âÌìÏÂͨáéÎïÁ÷¹«Ë¾¡£


Ïà¹ØÎĵµ£º

jsp+ajax×Ô¶¯Ë¢ÐÂʵÀý(ת)


Ò»¡¢´¦ÀíajaxÇëÇóµÄjspÎļþ£ºauto.jsp
<%@ page contentType="text/html; charset=gb2312" %>
<%
//ÉèÖÃÊä³öÐÅÏ¢µÄ¸ñʽ¼°×Ö·û¼¯
response.setContentType("text/xml; charset=UTF-8");
response.setHeader("Cache-Control","no-cache&q ......

jspµ¼³öword ¼°mht תÂëÎÊÌâ

×î½ü×öÁËÒ»¸ö×ʷѲéѯģ¿é£¬ÀïÃæÉæ¼°½«×Ê·ÑÐÅÏ¢µ¼³öWordÎĵµºÍExcelÎĵµ£¬
ÏÈ˵˵µ¼³öWordÎĵµ£º
Æäʵ¾ÍÊÇ°ÑÏìÓ¦µÄÀàÐÍÉèΪapplication/msword,È»ºó°ÑÄÚÈÝÊä³öµ½Õâ¸öÎļþ¾ÍÐÐÁË
µÚÒ»²½£º
ÏÈÔÚ×ÀÃæÉÏн¨Ò»¸öwordÎĵµ,Ë«»÷´ò¿ª£¬È»ºóÁí´æΪ.htmÎļþ£¬»á²úÉúÒ»¸öÒÔ.htm½áβµÄÎļþ
µÚ¶þ²½£º
°Ñ.htmÎļþÀ©Õ¹Ãû¸ÄΪ.jspÎļ ......

JSPµÄÄÚÖöÔÏó

À´Ô´ÓÚ¡¶Java¡¢javaEEÈí¼þ¹¤³Ìʦ¾ÍÒµÇóÖ°Êֲᡷ
1 HttpServletRequestÀàµÄrequest¶ÔÏ󣺴ú±íÇëÇó¶ÔÏó£¬Ö÷ÒªÓÃÓÚ½ÓÊÜ¿Í»§¶Ëͨ¹ýHTTPЭÒéÁ¬½Ó´«Êäµ½·þÎñÆ÷µÄÊý¾Ý¡£
2 HttpServletResponseÀàµÄresponse£º´ú±íÏìÓ¦¶ÔÏó£¬Ö÷ÒªÓÃÓÚÏò¿Í»§¶Ë·¢ËÍÊý¾Ý¡£
3 JspWriterÀàµÄout¶ÔÏó:Ö÷ÒªÓÃÓÚÏò¿Í»§¶ËÊä³öÊý¾Ý£¬OutµÄ»ùÀàÊÇJspWriter¡ ......

JSPÖж¯Ì¬INCLUDEÓ뾲̬INCLUDEµÄÇø±ð

ÎÒÃǶ¼ÖªµÀÔÚjspÖÐincludeÓÐÁ½ÖÖÐÎʽ,·Ö±ðÊÇ
    <%@ include file=" "%>
    <jsp:include page=" " flush="true"/>
    Ç°ÕßÊÇÖ¸ÁîÔªËØ¡¢ºóÕßÊÇÐÐΪԪËØ.
    ͨ³£µ±Ó¦ÓóÌÐòÖÐËùÓеÄÒ³ÃæµÄijЩ²¿·Ö(ÀýÈç±êÌâ¡¢Ò³½ÅºÍµ¼º½À¸)¶¼ÏàͬµÄʱºò,Î ......

JSPÊý¾Ý¿âÁ¬½Ó´óÈ«

JSPÊý¾Ý¿âÁ¬½Ó´óÈ«
2008-07-22 11:47
Ò»¡¢jspÁ¬½ÓOracle8/8i/9iÊý¾Ý¿â£¨ÓÃthinģʽ£©
testoracle.jspÈçÏ£º
< %@ page contentType="text/html;charset=gb2312"% >
< %@ page import="java.sql.*"% >
< html >
< body >
< %Class.forName("oracle.jdbc.driver.OracleDriver").new ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ