报错
错误信息为:
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]

web.xml配置如下:
在这里插入图片描述

struts.xml配置如下:
在这里插入图片描述
login.jsp页面代码如下:
在这里插入图片描述
运行结果:
在这里插入图片描述
存在问题 添加<s:actionmessage>标签 服务器出现出现500

求帮助 急0.0

更多推荐