【发布时间】:2011-01-18 14:54:35
【问题描述】:
将 struts 应用程序部署到在 eclipse 中运行的 tomcat 时,我在尝试加载欢迎页面时在控制台收到以下错误。
“没有为命名空间/和动作名称映射的动作。-[未知位置]”
我试图按照以下教程进行操作:http://viralpatel.net/blogs/2009/12/tutorial-create-struts-2-application-eclipse-example.html。
我显然刚刚开始使用 struts,如果有任何帮助,我们将不胜感激。
【问题讨论】:
-
最好的起点是官方 struts2 文档:struts.apache.org/2.x/docs/tutorials.html 如果您收到该错误消息,您的 web.xml 可能没问题。显示你的 struts.xml 文件。
标签: eclipse jsp tomcat struts2