文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Struts2中查看Action配置的插件 -- Config Browser Plugin

Struts2中查看Action配置的插件 -- Config Browser Plugin

时间:2011-05-12  来源:icejoywoo

(摘自官方介绍: 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目录下, 无需依赖其他任何文件.


相关阅读 更多 +
排行榜 更多 +
楼梯球3d

楼梯球3d

休闲益智 下载
艾特足球最新版

艾特足球最新版

休闲益智 下载
贪食蛇战机手机版

贪食蛇战机手机版

休闲益智 下载