修改struts.properties配置文件中的struts.action.extension属性,解决方法是将struts.action.extension改为如下形式: struts.action.extension=do,action 这样.action和.do都可以访问了。