How to display all available Struts2 actions?

☆樱花仙子☆ 提交于 2019-12-18 05:06:25

问题


I'm quite frequently asked to solve struts.xml configuration errors. Now, after updating to a later version of Struts2 I myself run into such a mismatch. Resulting in the following error:

No result defined for action com.opensource.project.ResourceAction and result missing

Well, solvable I guess. However, is there a smart way to html-print all available URL paths?

thanks for this community-guess


回答1:


You could do it with the config-browser plugin. Check the reference docs. One of the features of that plugin is

Shows all accessible action URLs



来源:https://stackoverflow.com/questions/17671783/how-to-display-all-available-struts2-actions

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