<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] # JSP概述 ## 問題01:JSP的特點 * 使用Java API、Servlet API * 包含了Java代碼的HTML(顯示增強) > 本質:能夠編寫HTML的Java類 > 思考:Java、Servlet、JSP、HTML的區別? ## 問題02:JSP的執行過程 ![](https://img.kancloud.cn/e9/28/e92862d462737aeceb8c796edc6de97e_1208x715.png) ## 問題03:JSP的構成 ![](https://img.kancloud.cn/b9/a1/b9a196449e654100a878a879af0c4d2f_960x699.png) ## 問題04:JSP頁面程序 * 訪問次數 ![](https://img.kancloud.cn/19/f0/19f0e7b69b024a3609faf5e5fb41cb98_411x366.png) * 九九乘法表 ![](https://img.kancloud.cn/fa/b8/fab8fd5beaf6803a05d1b91bb8482e95_517x296.png) # JSP的page指令 ![](https://img.kancloud.cn/9d/b0/9db033ced3b06c812bf1b981620e5598_929x380.png) ## 問題05:頁面支持中文 ![](https://img.kancloud.cn/f5/1b/f51b3db3a7aaf30336e78981ab3a4389_871x493.png) ## 問題06:Java常見運行時異常 ![](https://img.kancloud.cn/2a/eb/2aeb8929646231ad01e7540c16072de6_1247x599.png) > java.lang.ArithmeticException: / by zero > java.lang.ArrayIndexOutOfBoundsException > java.lang.NullPointerException > java.lang.NumberFormatException: For input string: "pzhu" > java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date ![](https://img.kancloud.cn/37/8b/378b7eeda706fa4156092b3559d23cc3_507x178.png) ## 問題07:設置自定錯誤頁面 ![](https://img.kancloud.cn/a8/94/a894a38d766639c6a165c0901d6ea4e0_870x389.png) * 如何顯示自定義錯誤頁面? ![](https://img.kancloud.cn/4f/3b/4f3b193d4c1d921d87940a219f32c3b4_767x360.png) > 1. 在internet explorer的選項中關閉HTTP友好提示信息 ![](https://img.kancloud.cn/40/4b/404bb36002331224152e65ce4d80e72c_490x334.png) > 2. 增加錯誤頁面信息至超過1024字節 > 3. 將錯誤信息頁面狀態碼從500修改為200 ``` response.setStatus(200); ``` ## 問題08:設置全局錯誤頁面 ![](https://img.kancloud.cn/2a/12/2a1271ffd01de6985a0ea2d110d98c0c_995x255.png) ![](https://img.kancloud.cn/b1/e7/b1e7336fcd458ffcbb37e90403d995b5_880x363.png) # JSP的include指令 ## 問題09:包含header頁面 ![](https://img.kancloud.cn/19/c4/19c4e1626abe6d04e5232b639fce531c_930x572.png) ## 問題10:包含footer頁面 ![](https://img.kancloud.cn/15/9e/159e2190f12819f9d170dd40a55b86cf_709x220.png) ## 問題11: < jsp:include >和< %@include >的區別 ![](https://img.kancloud.cn/6a/59/6a59181a1153751150cc4ecb97e12b46_519x460.png) ![](https://img.kancloud.cn/75/96/7596b19c85a071c13881c97dc0aff9f1_1175x440.png) ![](https://img.kancloud.cn/d5/5c/d55c4f5e7d1c517ef1e02e8f7b292cc9_682x160.png) ![](https://img.kancloud.cn/10/4f/104fbc20089a085821fc37878dd0e411_995x198.png) ### 擴展:其他動作元素 ![](https://img.kancloud.cn/0c/39/0c39b9be171ec2ebc76c96ea70cdab25_971x212.png) # JSP的taglib指令 ## 問題12:使用EL/JSTL庫 ![](https://img.kancloud.cn/95/88/9588089787cc0a83629938cd0f03da45_832x150.png) ## 問題13:使用自定義庫 ![](https://img.kancloud.cn/eb/23/eb23bbe49e31d2729dee0bbcdeda7c3d_734x392.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看