為什么http://localhost:8088/timer-interceptor/可以直接訪問到index.jsp
為什么http://localhost:8088/timer-interceptor/可以直接訪問到index.jsp
這個路徑不是過濾到struts框架中了么;然后無對應的action,不應該直接包404錯誤么??
為什么http://localhost:8088/timer-interceptor/可以直接訪問到index.jsp
這個路徑不是過濾到struts框架中了么;然后無對應的action,不應該直接包404錯誤么??
2017-06-29
舉報
2017-06-29
因為在項目生成后,在web.xml中有默認的配置跳轉到index.jsp
2017-07-17
web.xml中默認配置首頁是index.jsp
你可以修改這個配置,讓你的默認頁面是其他的也可以