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

jspÀïµÄ·¾¶ÎÊÌâ

     ×î½üÔÚѧjsp£¬ÔÚÕâÀïÁôÏÂÓ¡¼Ç£¬ÒÔÃâÍü¼Ç¡£
 
     ÔÚ˵jspÀïµÄ·¾¶ÎÊÌâÇ°ÏÈ˵ÏÂä¯ÀÀÆ÷½âÎöÍøÒ³µÄÔ­Àí¡£¼ÙÉèÄãÓÐÈçϵÄjspÒ³Ã棬ÎļþÃûΪtext.jsp£¬ÎļþλÓÚmyjsp¹¤³ÌϵÄwebrootÀï¡£
  <%@ page language="java"  pageEncoding="gb2312" %>
  <html>
     <head>
                  <link href="dual.css" style="text/css" rel="stylesheet" />
     </head>
    
     <body>
                 dfdfdfdfdfdfd<br><br>
                 <img src="q_images/myqq.jpg"  />
     </body>
  </html>
    µ±È»ÕâÀï¼ÙÉèÄãÓÐmyqq.jpgºÍ dual.cssÕâÁ½¸öÎļþ¡£µ±ÄãÔÚ¿Í»§¶ËÊäÈëhttp://localhost:8099/myjsp/text.jspʱ£¬¿Í·þ¶Ë°ÑÇëÇó·¢gei·þÎñ¶Ë£¬·þÎñ¶Ë»¹»ØµÄ²»ÊÇ°üº¬myqq.jpgºÍ dual.cssÕâÁ½¸öÎļþµÄÒ³Ã棬¶øÊÇÒ»¸öÎı¾Îļþ£¬¿Í·þ¶Ëä¯ÀÀÆ÷°ÑÎı¾ÎļþÀïµÄ´úÂëÒ»ÐÐÒ»ÐеĽâÎö£¬Èç¹ûÊÇhtml»ù±¾ÄÚÈÝ£¬ä¯ÀÀÆ÷Ö±½ÓÊä³ö£¬Èç¹û½âÎöµ½<link href="dual.css" style="text/css" rel="stylesheet" />£¬ä¯ÀÀÆ÷»á°´http:localhost:8099/myjsp/dual.cssµÄ·¾¶È¥·ÃÎÊdual.cssÎļþ£¬²¢ÏÂÔص½ÄãµÄ±¾»ú£¬ÕâʱÄãµÄjspÎļþ²ÅÓÐÁËdual.cssÑùʽ£¬µ±Óöµ½<img src="q_images/myqq.jpg"  />ʱ£¬Ö´ÐеĹý³ÌͬÉÏ¡£
     ÒÔÉϾÍÊÇä¯ÀÀÆ÷½âÎöÍøÒ³µÄ¹ý³Ì£¬ÔÚÍøÒ³ÀïµÄcssÎļþ.javascriptÎļþ.img°üÀ¨mp3¶¼±ØÐëÏÂÔص½ÄãµÄ±¾»ú,ÄãµÄä¯ÀÀÆ÷²Å¿ÉÄÜ°ÑËûÃǶ¼ÏÔʾ³öÀ´£¬ÕâÀï¾ÍÉæ¼°µ½ÁËjspÀïÒª·ÃÎʵÄÎļþµÄ·¾¶µÄÎÊÌâÁË¡£½ÓÏÂÀ´¾ÍҪ˵Ã÷ÏÂjspµÄ·¾¶µÄÎÊÌâ¡£
     
     jspÀïµÄ·¾¶¼òµ¥µÄ¿ÉÒÔ¸ÅÀ¨ÎªÁ½ÖÖ
              1£º¾ø¶Ô·¾¶
     &nb


Ïà¹ØÎĵµ£º

JSP¼Ü¹¹¡¢JSP¿ª·¢¹¤¾ßÓÅȱµã±È½Ï

   Ëæ׿¼ÊõµÄÈÕÐÂÔÂÒì £¬JSPµÄм¼ÊõÒ²²ã³ö²»ÇΪÁË·½Ãæ´ó¼ÒµÄѧϰÓ빤×÷£¬ÏÂÃ潫¼òµ¥µÄ½éÉÜÒ»ÏÂJSP¼Ü¹¹¡¢JSP¿ª·¢¹¤¾ß¡¢Web·þÎñÆ÷¼°Æäîñȱµã¡£
    JSP¼Ü¹¹£º
    struts£º  Struts¸úTomcat¡¢TurbineµÈÖî¶àApacheÏîÄ¿Ò»Ñù£¬ÊÇ¿ªÔ´Èí¼þ£¬ÕâÊÇËüµÄÒ»´óÓŵ㣬ʹ¿ª·¢ÕßÄܸüÉ ......

jspºÍservletÖض¨Ïò

Ò»¡¢        
         ÔÚÒ»¸öÉè¼ÆÁ¼ºÃµÄWebÓ¦ÓÃÖУ¬¶¼»á×ÛºÏʹÓÃServletºÍJSP¼¼Êõ¡£Servlet¿ØÖÆÒµÎñÁ÷ת£¬JSPÔò¸ºÔðÒµÎñ´¦Àí½á¹ûµÄÏÔʾ¡£´Ëʱ£¬½«´óÁ¿Óõ½Öض¨Ïò¼¼Êõ¡£
¡¡¡¡Öض¨Ïò¼¼Êõ¿ÉÒÔ·ÖΪÁ½À࣬һÀàÊÇ¿Í»§¶ËÖض¨Ïò£¬Ò»ÀàÊ ......

²»ÄܱàÒëjspÔõô°ì

Ò²ÐíºÜ¶à¸ßÊÖ¶¼²»Ï÷½â¾öÕâ¸öÎÊÌ⣬µ«ÊÇÎÒ¾õµÃ¶Ô³õѧÕßÀ´ËµÕâ¸öÎÊÌ⻹ÊÇÒªÑо¿Ò»»áµÄ£¬ËùÒԾͼǼÏÂÀ´ÁË¡£
ÎÊÌâÃèÊö£º
µ±ÄãÔÚEclipseµÄ³ÌÐòÖмÓÈëÒ»¸öJSPÎļþºó£¬Õû¸öProject »á±¨Ò»¸öÕâÑùµÄError.
ÎÊÌâÔ­Òò£º
ĬÈÏEclipseµÄ±àÒë»·¾³ÊÇJRE£¬¶øJREÊDz»´ø±àÒëÆ÷µÄ£¬Ö»ÓÐJDK²Å´ø±àÒëÆ÷¡£ËùÒÔ±ØÐë°ÑJDK×÷ΪÄãÏîÄ¿µÄInstalle ......

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

JSPÖÐÓÐÁ½ÖÖ°üº¬Óï¾ä£º
1. <%@include file="head.jsp" %>
2. <jsp:include page="head.jsp" />
   »òÕߣº
  <jsp:include page="jieshou.jsp">
   <jsp:param name="canshu" value="magci" />
 &nbs ......

JSPÇáËÉÈëÃÅ

»ù±¾ÄÚÈÝ
Ê×ÏÈÊÇÓÃJ2SE+TOMCAT´î½¨¿ª·¢Æ½Ì¨£¬È»ºó»áÓÃʵÀý·Ö±ð¶ÔjavabeanºÍservlet½øÐвâÊÔ£¬
ͬʱҲ»á̸µ½Ò»Ð©ÖÐÎÄ´¦ÀíÉϵÄÎÊÌâ¡£ÎÄÕÂÄÚÈÝ¿ÉÄÜ»áÓеãÔÓÂÒºÍÁãÉ¢£¬µ«ÕâÒ²ÊÇѧϰ
jsp×î»ù´¡µÄ֪ʶ£¬ÒªÏëѧºÃjsp»¹µÃ¿¿×Ô¼º¶àŬÁ¦Ñ§Ï°¡£

ΪʲôҪдÕâÑùһƪÎÄÕ£¿
ÈÏʶÎÒµÄÅóÓÑ¿ÉÄÜ»áÖªµÀ£¬ÎÒƽʱֻÊÇдºÍ·­ÒëһЩJ2ME· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ