为了看到 struts2 应用里的 Action 等各种资源的影射情况, struts2 提供了 Config Browser 插件。
使用方法,将 struts2-config-browser-plugin-2.2.1.jar (struts对应版本的压缩包里面有)文件复制到 struts2 应用的 WEB-INF\lib 目录中。
打开首页地址: http://localhost:8080/ 应用名字 /config-browser/actionNames.action
使用方法,将 struts2-config-browser-plugin-2.2.1.jar (struts对应版本的压缩包里面有)文件复制到 struts2 应用的 WEB-INF\lib 目录中。
打开首页地址: http://localhost:8080/ 应用名字 /config-browser/actionNames.action
本文介绍如何利用Struts2提供的ConfigBrowser插件查看应用中的Action等资源映射情况。通过将特定jar文件放置到应用的指定目录,即可通过访问特定URL来展示这些配置信息。
9476

被折叠的 条评论
为什么被折叠?



