解决HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with c

web项目之欢迎界面访问异常解决

新搞得Struts2项目之前在myeclipse 上还好好地,刚转移到eclipse就出问题好头大。
错误原因没有配置默认action 定义欢迎界面
错误截图:
解决HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with c_第1张图片
解决方案。在Struts。xml配置界面配置默认action 定义起始页界面
截图
解决HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with c_第2张图片
配置后效果
解决HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with c_第3张图片
访问成功出现login页面
。。。。。。。。。。。。。。。。。。华丽句号分割线。。。。。。。。。。。。。。。。。。。。。

问题解决完成!!!

你可能感兴趣的:(web)