為什么http://localhost:8088/timer-interceptor/可以直接訪問(wèn)到index.jsp
為什么http://localhost:8088/timer-interceptor/可以直接訪問(wèn)到index.jsp
這個(gè)路徑不是過(guò)濾到struts框架中了么;然后無(wú)對(duì)應(yīng)的action,不應(yīng)該直接包404錯(cuò)誤么??
為什么http://localhost:8088/timer-interceptor/可以直接訪問(wèn)到index.jsp
這個(gè)路徑不是過(guò)濾到struts框架中了么;然后無(wú)對(duì)應(yīng)的action,不應(yīng)該直接包404錯(cuò)誤么??
2017-06-29
舉報(bào)
2017-06-29
因?yàn)樵陧?xiàng)目生成后,在web.xml中有默認(rèn)的配置跳轉(zhuǎn)到index.jsp
2017-07-17
web.xml中默認(rèn)配置首頁(yè)是index.jsp
你可以修改這個(gè)配置,讓你的默認(rèn)頁(yè)面是其他的也可以