Servlet技術2_Servlet程序常見錯誤

常見錯誤一: url-pattern中配置的路徑沒有以 / 打頭 常見錯誤二: servlet-mapping標籤中的servlet-name中的內容沒有與前面的servlet標籤中的servlet-name的值相對應(idea中會自動標紅) 報錯: 常見錯誤三: servlet標籤中的servlet-class中的類與其不對應 這種錯誤運行時不報錯,一訪問就錯了
相關文章
相關標籤/搜索