Struts2框架之"There is no Action mapped for namespace / and action name"
1.查看struts.xml是否命名正确,不要搞奇葩的命名,如:Struts2.xml,否则报错。
2.查看struts.xml配置文件是否正确,这是规范的xml模板。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD ...
原创
2018-07-18 07:31:07 ·
187 阅读 ·
0 评论