1. 程式人生 > >tomcat:sts\eclipse中web專案正常釋出到tomcat後,瀏覽器不能訪問。

tomcat:sts\eclipse中web專案正常釋出到tomcat後,瀏覽器不能訪問。

如下圖時,

 1、可能是jsp檔案路徑發錯了;

         操作 :右擊jsp檔案---在彈出的選單中開啟 “屬性” --在位置(L)時jsp檔案必須在WebContent \ WebRoot 資料夾下。

下圖是在eclipse oxygen版本 jsp檔案路徑是正確時的截圖。