struts2 url 映射 查看 Struts Configuration Browser
查看所有struts2映射到的url
?
?
?2个办法
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());