There is no Action mapped for namespace [/] and action name [Test] associated with context path [/TestStruts]. - [unknown location]

僤鯓⒐⒋嵵緔 提交于 2019-12-06 03:54:36

Because /TestStruts is a context path at which deployed your application. It has the same path as namespace in your package. Try

http://localhost:8080/TestStruts/TestStruts/test.action

When URls is rendering from the struts tags it's trying to find a corresponding action configuration. If there's no config found the warning is issued.

Rajesh Pandey

After executing the app, leave the console and put the URL link (like http://localhost:8080/yourprojectname/.jsp) with your index page and run it. It would be running fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!