Tomcat运行后访问网页404。
看控制台发现 struts.xml出问题,最后发现时struts.xml中拼写错了。。。
Unable to load configuration. - interceptor-ref - file:/C:/Users/lk/eclipse-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/wtpwebapps/course2/WEB-INF/classes/struts.xml:13:42
修改之后成功运行。