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

JspÖеÄException¶ÔÏó

     Exception¶ÔÏóÊÇÓÃÀ´´¦ÀíJspÒ³ÃæÎļþÔÚÖ´ÐÐʱËùÓз¢ÉúµÄ´íÎóºÍÒì³££»JspÒ³ÃæÎļþ±ØÐëÔÚisErrorPage=trueµÄÇé¿öϲſÉÒÔʹÓøöÔÏ󣻸öÔÏóÒ»°ãÅäºÏPageÖ¸ÁîÒ»ÆðʹÓã¬Í¨¹ýÖ¸¶¨Ä³¸öÒ³ÃæÎª´íÎó´¦ÀíÒ³Ãæ£¬°ÑËùÓеĴíÎó¶¼¼¯Öе½ÄǸöÒ³Ãæ½øÐд¦Àí£¬¿ÉÒÔʹÕû¸öϵͳµÄÐÔÄܵõ½¼ÓÇ¿£»³£Ó÷½·¨ÈçÏÂ
getMessage()£º·µ»Ø´íÎóÐÅÏ¢
toString£ºÒÔ×Ö·û´®µÄÐÎʽ·µ»ØÒ»¸ö¶ÔÒì³£µÄÃèÊö
printStackTrace()£ºÒÔ±ê×¼´íÎóµÄÐÎʽÊä³öÒ»¸ö´íÎóºÍ´íÎóµÄ¶ÑÕ»


Ïà¹ØÎĵµ£º

ASPÓëJSPµÄ±È½Ï

ASPÓëJSPµÄ±È½Ï
´Ó΢ÈíÍÆ³öÁËASP(ActiveServerPage)ºó£¬ËüÒÔÆäÇ¿´óµÄ¹¦ÄÜ£¬¼òµ¥Ò×ѧµÄÌØµã¶øÊܵ½¹ã´óWEB¿ª·¢ÈËÔ±µÄϲ»¶¡£µ«ÊÇËüÈ´ÓÐ΢Èí²úÆ·µÄͨ²¡,Ö»ÄÜÔÚWindowsƽ̨ÏÂʹÓã¬ËäÈ»Ëü¿ÉÒÔͨ¹ýÔö¼Ó¿Ø¼þ¶øÔÚLINUXÏÂʹÓ㬵«ÊÇÆä¹¦ÄÜ×îÇ¿´óµÄDCOM¿Ø¼þÈ´²»ÄÜʹÓ᣶øSUN¹«Ë¾ÔÚJAVAµÄ»ù´¡Ï¿ª·¢³öµÄJSP(Java ServerPages)ʵÏÖÁ˶ ......

JspÖеÄ×Ô¶¨Ò庯Êý

¸ñʽÈçÏ£º   <%!
                            [synchronized] ·µ»ØÀàÐÍ º¯ÊýÃû(ÐβÎÁбí)
          &nbs ......

jsp:param±êÇ©

¸Ã±êÇ©ÓÃÓÚÏòÄ¿±êÒ³ÃæÖеIJÎÊý´«Öµ£¬¸Ã±êǩͨ³£Óëjsp:include»òjsp:forward±êǩһÆðʹÓÃ
¸ñʽ£º<jsp:param name=? value=? />
         name£ºÄ¿±êÒ³ÃæÖеÄij²ÎÊýÃû
         value£ºÏònameÖ¸¶¨µÄ²ÎÊýËù´«µÄÖµ
Ò»¸öÒ³ÃæÖпÉÒÔÊ ......

iframeǶÈëjsp²»±äÐÎ

ÓеÄʱºò»áÍü¼Ç£¬¼Ç¼һÏ£º
<iframe id="xx" name="xx" width="515" height="177" scrolling="no" border="0" marginwidth="0" marginheight="0"  frameborder="0" src="Xx.jsp"></iframe>
Ҫʹjsp²»±äÐΣ¬Ö÷ÒªÊÇmarginwidth="0" marginheight="0"Á½¸öÊôÐÔ¡£ ......

JspÖеÄresponse¶ÔÏó

     ¸Ã¶ÔÏóÊÇjavax.servlet.ServletResponseÀàµÄʵÀý£¬Æä×÷ÓøպÃÓërequest¶ÔÏóÏà·´£¬request¶ÔÏóÊǰüº¬Á˿ͻ§ÇëÇóµÄÓйØÐÅÏ¢£¬¶øresponse¶ÔÏóÊǰüº¬ÁËÏìÓ¦¿Í»§ÇëÇóµÄÓйØÐÅÏ¢£»³£Ó÷½·¨ÈçÏÂ
addCookie(Cookie c)£ºÌí¼ÓÒ»¸öCookie¶ÔÏó£¬ÓÃÀ´±£´æ¿Í»§¶ËµÄÓû§ÐÅÏ¢
sendRedirect(URL)£º½«µ±Ç°¿Í»§¶ËµÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ