输入banner图图片脚本导航/分类

javascript-Struts2配置到web.xml时所有网页出现404错误,什么原因呢?

Struts2配置到web.xml时所有网页出现404错误,


web.xml


struts.xml


jar包

项目结构

然后运行所有页面就这样了

回复内容:

Struts2配置到web.xml时所有网页出现404错误,


web.xml


struts.xml


jar包

项目结构

然后运行所有页面就这样了

描述不明确 你应该把 web.xml struts.xml 贴出来

有没有项目目录结构和action的代码的图?

struts2默认拦截.action 拦截.do需要自行修改