如果在浏览器里直接输入项目名: http://localhost:8080/Struts2Action01/ 那么不会在struts.xml里找到相应的action, 所以又跳回到web.xml里找到默认的路径(Index.jsp)。