Name |
struts2-coc-plugin |
---|---|
Publisher |
铁木箱子 |
License |
Open Source (ASL2) |
Version |
0.1 |
Compatibility |
Struts 2.1.8+ |
Homepage |
|
Download |
The rate macro's key can only contain alphanumeric characters.
Overview
struts2-coc-plugin是一款基于Conversion插件的struts2插件,该插件主要在conversion插件基础上优化了部分处理流程,比如uri地址和action方法的映射、文件上传的处理、json/text文本输出的处理、校验和操作提示信息的处理等等。该插件的唯一目的就是真正的不进行一行配置,同时可以保持项目结构的清晰便于开发维护。does this great thing. Here is also a short overview of what it does and why a developer would want to use it.
Features
struts2-coc-plugin is a plugin base on Conversion plugin,it handle some thing to coding optimizition and conversion as following:
1.every action can service multiple request with simple uri
2.can redefine the input result in validation method with one method call
3.support define the different size and extensions of file when upload file through different url
4.support forward to view page directly when the method was not defined in the action
5.simple way to response the json and text to client through java annotations
struts2-coc-plugin是一个基于Conversion插件的struts2插件,该插件主要做了如下优化和约定开发:
1、每个action可以支持多个访问入口,使用普通的uri即可访问
2、在validate方法中可以通过调用父action的方法重新定义结果页面,默认的struts是返回到input界面
3、支持不同url地址文件上传时文件的大小、类型分别指定
4、支持当访问的url对应的action中没有指定的方法时可以直接定位到视图页面
5、json和文本输出的直接支持,简单的通过注解就可以实现方法的json和文本输出
6、
Usage
Instructions how to use your plugin.
Example
This is a quick example of my plugin in action
You could also include screenshots by attaching the images to this page:
There are no images attached to this page. |
Settings
The following settings can be customized. See the developer guide.
Setting |
Description |
Default |
Possible Values |
---|---|---|---|
|
A short description |
|
|
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.
Resources
- Links to any other documentation or related products
Version History
Version |
Date |
Author |
Notes |
---|---|---|---|
1.0 |
Dec 20, 2006 |
Initial release |