(摘自官方介绍: http://struts.apache.org/2.x/docs/config-browser-plugin.html)
(中文部分是我自己翻译的, 本身的英文也很简单, 我的翻译由于水平所限, 只能做简单的参考)
The Config Browser Plugin is a simple tool to help view an application's configuration at runtime. It is very useful when debugging problems that could be related to configuration issues.
Config Browser插件是一个可以在运行时查看应用配置的简单工具. 在调试一些和配置相关的问题时, 非常有用.
Features 功能
Browsable view of loaded configuration 浏览已加载的配置
Shows all accessible action URLs 查看所有可以访问的URL
Usage 使用方法
To use the plugin, simply copy the jar into your application. Once installed, you can access the tool by opening to the action named index in the config-browser namespace.
使用这个插件, 只需要将jar包拷贝到你的应用中. 一旦安装完成, 打开config-browser命名空间下的index.action, 你就可以使用本工具.
(注释: 我在struts2.0中, 访问的是actionNames.action, 也可以访问index.action)
In most cases (if you are using the default ActionMapper), the URL is something like http://localhost:8080/starter/config-browser/index.action.
Settings 设置
This plugin provides no customizable settings.
未提供可定制的设置.
Installation 安装
This plugin can be installed by copying the plugin jar into your application's /WEB-INF/lib directory. No other files need to be copied or created.
拷贝struts2安装文件的lib下的struts2-config-browser-plugin-2.X.X.jar到你应用程序的/WEB-INF/lib目录下, 无需依赖其他任何文件.
作者:icejoywoo
出处:http://www.cnblogs.com/icejoywoo/
http://127.0.0.1:8080/config-browser/index.action
http://127.0.0.1:8080/config-browser/showBeans.action
分享到:
相关推荐
默认的struts2-config-browser-plugin包中的ftl文件include标签路径用的相对路径,会找到包内的include文件,将包内ftl里include的路径改成的/开头的全路径。
struts2-config-browser-plugin-2.1.8.1.jar
struts2-config-browser-plugin-2.2.3.jar
struts2-spring-plugin-2.3.15.2.jar ; struts2-json-plugin-2.3.16.3.jarstruts2-spring-plugin-2.3.15.2.jar ; struts2-json-plugin-2.3.16.3.jar
2.5.10.1.jar,struts2-config-browser-plugin-2.5.10.1.jar,struts2-convention-plugin-2.5.10.1.jar,struts2-dwr-plugin-2.5.10.1.jar,struts2-embeddedjsp-plugin-2.5.10.1.jar,struts2-gxp-plugin-2.5.10.1....
struts2-config-browser-plugin-2.3.24.jar, struts2-core-2.3.24.jar, struts2-jasperreports-plugin-2.3.24.jar, struts2-jfreechart-plugin-2.3.24.jar, struts2-pell-multipart-plugin-2.3.24.jar, struts2-...
struts2-convention-plugin-2.3.32
struts2-dojo-plugin-2.3.4 jar 日期控件的jar包 需要的自行下载
cascade.zip,用于Scala应用程序的级联JSON公共库和模式
赠送jar包:struts2-json-plugin-2.3.24.jar; 赠送原API文档:struts2-json-plugin-2.3.24-javadoc.jar; 赠送源代码:struts2-json-plugin-2.3.24-sources.jar; 赠送Maven依赖信息文件:struts2-json-plugin-...
struts2-dojo-plugin-2.2.1.jar, 直接导入到Struts2项目里即可,注意版本。
JavaEE源代码 struts2-spring-plugin-2.0.11JavaEE源代码 struts2-spring-plugin-2.0.11JavaEE源代码 struts2-spring-plugin-2.0.11JavaEE源代码 struts2-spring-plugin-2.0.11JavaEE源代码 struts2-spring-plugin-...
struts2-convention-plugin-2.3.24.1
struts2-jquery-plugin-3.1.0.jar
struts2-convention-plugin-2.3.15.1.jar
struts2-ssl-plugin-1.2.1.jar
struts2-config-browser-plugin-2.1.6.jar
struts2-json-plugin,Struts JSON插件
struts2.1.6-config-browser-plugin.api.chm struts2.1.6-config-browser-plugin.api.chm
struts2-dojo-plugin-2.3.15.3.jar.zip