搭建struts工程出现以上问题:

1.排查关键字,xml中是不是有关键字写错 如struts2,default等

2.action 表单  一般要写成 xxxx.action  如:login.action

3.类写错了

比如execute 方法外面没有写@Override

  @Overridepublic String execute() {if (userName.equals("hellokitty") && password.equals("123")) {return SUCCESS;} else {return ERROR;}}

4.jar包少引入了

5.struts文件少写namespace

   <package name="default" namespace="/" extends="struts-default">

message There is no Action mapped for namespace [/] and action name [login] associated with context相关推荐

  1. There is no Action mapped for namespace [/] and action name [LoginAction_home] associ

    使用struts2框架产生的问题: index.jsp: <%@ page language="java" contentType="text/html; char ...

  2. javaweb报错There is no Action mapped for namespace [/] and action name [Login] context path [/struts]

    javaweb报错 There is no Action mapped for namespace [/] and action name [Login] associated with contex ...

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

    建立一个struts2+hibernate+spring的demo,结果发现输入:http://localhost:端口号/项目名称/ 后,页面报:HTTP Status 404 - There is ...

  4. There is no Action mapped for namespace [/] and action name [] associated with context path [/dxm__s

    2015-4-3 10:23:19 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error 严重: Exception occ ...

  5. Struts2中关于There is no Action mapped for namespace / and action name的错误解决

    今天在调试一个十分基础的Struts2框架小程序时.总是提示"There is no Action mapped for namespace / and action name"的 ...

  6. There is no Action mapped for namespace[/] and action name [] associated with context path.

    There is no Action mapped for namespace[/] and action name [] associated with context path.这是一个很常见的s ...

  7. There is no Action mapped for namespace [/] and action name [test] associated with context path [...

    There is no Action mapped for namespace [/] and action name [test] associated with context path [/s2 ...

  8. 关于报错There is no Action mapped for namespace [/] and action name 。。。(两个package的name重复 T_T)

    在使用struts.xml的<include file="***.xml"></include>时,配置了两个xml文件,一直报错,查了网上不少方法,htt ...

  9. There is no Action mapped for namespace / and action name accredit.

    No result defined for action XXX and result input 这种错误的原因一般是页面的属性和action里的属性个数.名称.类型不一致造成的. 转载于:http ...

最新文章

  1. EDAS ScheduleX 问题
  2. Java 集合框架 : Collection、Map
  3. 考计算机专业西南大学排名,2017西南大学优势专业排名
  4. ACID中C与CAP定理中C的区别
  5. LoadRunner中添加weblogic监视器(JMX)
  6. 速更新!流行的开源邮件客户端 Mozilla Thunderbird 91.3修复多个高危缺陷
  7. django 1.8 官方文档翻译: 8-3 点击劫持保护 1
  8. 导体、良导体、超导体与半导体
  9. phpstudy建站php版本切换,phpstudy一键环境切换php版本报错,求帮忙
  10. python全栈工程师视频_python全栈工程师视频教程
  11. 全国计算机二级vf成绩查询,2017全国计算机二级《VF》考点习题
  12. 偏最小二乘法(PLS)Python代码
  13. pycharm新建python文件快捷键_Pycharm快捷键
  14. 我的世界启动器怎么更改java_我的世界启动器Java路径怎么设置?
  15. NanoDet代码逐行精读与修改(四)动态软标签分配:dynamic soft label assigner
  16. 【数学基础】简单易懂的张量求导和计算图讲解
  17. JAVA生成热点图,JAVA 后端生成热力图图片返回
  18. 阿里云数据盘扩容操作遇险记录
  19. 嵌入式课程设计linux,嵌入式课程设计报告
  20. 死链提交为什么不能提交 html文件,百度死链提交的方法,百度死链提交的的作用...

热门文章

  1. kaggle的kernel-only比赛中出现Your Notebook cannot use internet access in this competition解决方案
  2. groupby的用法
  3. sublime text3 按F5运行python代码
  4. 深度学习(三十九)——深度强化学习(2)概述, Deep Q-learning Network(1)
  5. nginx php fpm socket,php-fpm 使用 socket 方式和 nginx 通讯,(速度优化)
  6. mysql导出数据到本地_mysql怎么导出数据到本地文件
  7. kali linux 中文输入法,Kali Linux安装中文输入法
  8. Linux 给用户添加sudo权限
  9. Windows下的bat原来可以为我们做很多
  10. Git 常用命令和教程