There is no Action mapped for namespace / and action name .解答

做struts2登陆检验的时候遇到了一个问题:

There is no Action mapped for namespace / and action name .解答

输入http://localhost/login_validation/的目的是想显示

文件夹下的文件列表,无奈,使用struts框架,web.xml设定了<welcome-file-list>,该<welcome-file-list>中的下的文件不存在时,将显示错误。

所以该工程本身并没有错误,只需输入完整的文件路径,

 http://localhost/login_validation/login.jsp

There is no Action mapped for namespace / and action name .解答

至此输入成功!

 

相关文章:

  • 2022-12-23
  • 2021-08-20
  • 2021-12-16
  • 2022-01-08
  • 2022-12-23
  • 2022-01-11
  • 2021-05-20
  • 2022-12-23
猜你喜欢
  • 2021-10-19
  • 2021-11-12
  • 2022-01-02
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案