struts2 url 映射 查看 Struts Configuration Browser

查看所有struts2映射到的url

 2个办法

1.
Use the Configuration Browser Plugin
Add the Config Browser Plugin plugin to the lib folder or maven dependencies, and then visit: http://localhost:8080/CONTEXT/config-browser/index.action, to see the current action mappings. 




2.

RuntimeConfiguration config  = Dispatcher.getInstance().getConfigurationManager().getConfiguration().getRuntimeConfiguration();

System. out .println(config.toString());

猜你喜欢

转载自renxiangzyq.iteye.com/blog/1409730