- C3p0Plugin - com.jfinal.plugin.c3p0中的类
-
The c3p0 datasource plugin.
- C3p0Plugin(String, String, String) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(String, String, String, String) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(String, String, String, String, Integer, Integer, Integer, Integer, Integer) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(File) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- C3p0Plugin(Properties) - 类 的构造器com.jfinal.plugin.c3p0.C3p0Plugin
-
- cache - 类 中的静态变量com.jfinal.plugin.activerecord.DbKit
-
- cacheAction(String, String, Controller) - 类 中的方法com.jfinal.plugin.ehcache.CacheInterceptor
-
- CacheInterceptor - com.jfinal.plugin.ehcache中的类
-
CacheInterceptor.
- CacheInterceptor() - 类 的构造器com.jfinal.plugin.ehcache.CacheInterceptor
-
- CacheKit - com.jfinal.plugin.ehcache中的类
-
CacheKit.
- CacheKit() - 类 的构造器com.jfinal.plugin.ehcache.CacheKit
-
- cacheManager - 类 中的静态变量com.jfinal.plugin.ehcache.CacheKit
-
- cacheManager - 类 中的静态变量com.jfinal.plugin.ehcache.EhCachePlugin
-
- CacheName - com.jfinal.plugin.ehcache中的注释类型
-
CacheName can configure CacheInterceptor's cache name.
- callerFQCN - 类 中的静态变量com.jfinal.log.Log4jLogger
-
- CaptchaRender - com.jfinal.ext.render中的类
-
- CaptchaRender(String) - 类 的构造器com.jfinal.ext.render.CaptchaRender
-
- checkConfig() - 类 中的方法com.jfinal.server.JettyServer
-
- checkPropertyLoading() - 类 中的方法com.jfinal.config.JFinalConfig
-
- checkTableName(Class<? extends Model>, String) - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Check the table name.
- clazzName - 类 中的变量com.jfinal.log.JdkLogger
-
- clear() - 类 中的方法com.jfinal.plugin.activerecord.Model
-
Remove all attributes of this model.
- clear() - 类 中的方法com.jfinal.plugin.activerecord.Record
-
Remove all columns of this record.
- ClearInterceptor - com.jfinal.aop中的注释类型
-
ClearInterceptor is used to clear interceptors of different level.
- ClearLayer - com.jfinal.aop中的枚举
-
ClearLayer indicates ClearIntercptor which layer of interceptor should be cleared.
- ClearLayer() - 枚举 的构造器com.jfinal.aop.ClearLayer
-
- close(ResultSet, Statement, Connection) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
Close ResultSet、Statement、Connection
ThreadLocal support declare transaction.
- close(Statement, Connection) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- close(Connection) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- closeIgnoreThreadLocal(Connection) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- closeQuietly(ResultSet, Statement) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- closeQuietly(Statement) - 类 中的静态方法com.jfinal.plugin.activerecord.DbKit
-
- columns - 类 中的变量com.jfinal.plugin.activerecord.Record
-
- columnTypeMap - 类 中的变量com.jfinal.plugin.activerecord.TableInfo
-
- com.jfinal.aop - 程序包 com.jfinal.aop
-
- com.jfinal.config - 程序包 com.jfinal.config
-
- com.jfinal.core - 程序包 com.jfinal.core
-
- com.jfinal.ext.handler - 程序包 com.jfinal.ext.handler
-
- com.jfinal.ext.interceptor - 程序包 com.jfinal.ext.interceptor
-
- com.jfinal.ext.render - 程序包 com.jfinal.ext.render
-
- com.jfinal.handler - 程序包 com.jfinal.handler
-
- com.jfinal.i18n - 程序包 com.jfinal.i18n
-
- com.jfinal.log - 程序包 com.jfinal.log
-
- com.jfinal.plugin - 程序包 com.jfinal.plugin
-
- com.jfinal.plugin.activerecord - 程序包 com.jfinal.plugin.activerecord
-
- com.jfinal.plugin.activerecord.cache - 程序包 com.jfinal.plugin.activerecord.cache
-
- com.jfinal.plugin.activerecord.dialect - 程序包 com.jfinal.plugin.activerecord.dialect
-
- com.jfinal.plugin.activerecord.tx - 程序包 com.jfinal.plugin.activerecord.tx
-
- com.jfinal.plugin.auth - 程序包 com.jfinal.plugin.auth
-
- com.jfinal.plugin.c3p0 - 程序包 com.jfinal.plugin.c3p0
-
- com.jfinal.plugin.druid - 程序包 com.jfinal.plugin.druid
-
- com.jfinal.plugin.ehcache - 程序包 com.jfinal.plugin.ehcache
-
- com.jfinal.plugin.spring - 程序包 com.jfinal.plugin.spring
-
- com.jfinal.render - 程序包 com.jfinal.render
-
- com.jfinal.server - 程序包 com.jfinal.server
-
- com.jfinal.token - 程序包 com.jfinal.token
-
- com.jfinal.upload - 程序包 com.jfinal.upload
-
- com.jfinal.util - 程序包 com.jfinal.util
-
- com.jfinal.validate - 程序包 com.jfinal.validate
-
- config() - 类 中的方法com.jfinal.aop.InterceptorStack
-
- config() - 类 中的方法com.jfinal.config.Routes
-
you must implement config method and use add method to config route
- Config - com.jfinal.core中的类
-
- Config() - 类 的构造器com.jfinal.core.Config
-
- config - 类 中的静态变量com.jfinal.render.FreeMarkerRender
-
- configConstant(Constants) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config constant
- configHandler(Handlers) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config handler
- configInterceptor(Interceptors) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config interceptor applied to all actions.
- configJFinal(JFinalConfig) - 类 中的静态方法com.jfinal.core.Config
-
- configPlugin(Plugins) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config plugin
- configRoute(Routes) - 类 中的方法com.jfinal.config.JFinalConfig
-
Config route
- configuration - 类 中的变量com.jfinal.plugin.ehcache.EhCachePlugin
-
- configurationFileName - 类 中的变量com.jfinal.plugin.ehcache.EhCachePlugin
-
- configurationFileURL - 类 中的变量com.jfinal.plugin.ehcache.EhCachePlugin
-
- configurations - 类 中的变量com.jfinal.plugin.spring.SpringPlugin
-
- conn - 类 中的变量com.jfinal.plugin.activerecord.SqlReporter
-
- Const - com.jfinal.core中的接口
-
Global constants definition
- Constants - com.jfinal.config中的类
-
The constant for JFinal runtime.
- Constants() - 类 的构造器com.jfinal.config.Constants
-
- constants - 类 中的静态变量com.jfinal.core.Config
-
- constants - 类 中的变量com.jfinal.core.JFinal
-
- constants - 类 中的变量com.jfinal.core.JFinalFilter
-
- constants - 类 中的变量com.jfinal.render.RenderFactory
-
- contains(Token) - 接口 中的方法com.jfinal.token.ITokenCache
-
- contentType - 类 中的变量com.jfinal.ext.render.JsonWithContentTypeRender
-
- contentType - 类 中的静态变量com.jfinal.render.Error404Render
-
- contentType - 类 中的静态变量com.jfinal.render.Error500Render
-
- contentType - 类 中的静态变量com.jfinal.render.FreeMarkerRender
-
- contentType - 类 中的静态变量com.jfinal.render.HtmlRender
-
- contentType - 类 中的静态变量com.jfinal.render.JavascriptRender
-
- contentType - 类 中的静态变量com.jfinal.render.JsonRender
-
http://zh.wikipedia.org/zh/MIME
在wiki中查到: 尚未被接受为正式数据类型的subtype,可以使用x-开始的独立名称(例如application/x-gzip)
所以以下可能要改成 application/x-json
通过使用firefox测试,struts2-json-plugin返回的是 application/json, 所以暂不改为 application/x-json
1: 官方的 MIME type为application/json, 见 http://en.wikipedia.org/wiki/MIME_type
2: ie 不支持 application/json, 在 ajax 上传文件完成后返回 json时 ie 提示下载文件
- contentType - 类 中的变量com.jfinal.render.TextRender
-
- contentType - 类 中的静态变量com.jfinal.render.VelocityRender
-
- contentType - 类 中的变量com.jfinal.upload.UploadFile
-
- context - 类 中的变量com.jfinal.server.JettyServer
-
- ContextPathHandler - com.jfinal.ext.handler中的类
-
Provide a context path to view if you need.
- ContextPathHandler() - 类 的构造器com.jfinal.ext.handler.ContextPathHandler
-
- ContextPathHandler(String) - 类 的构造器com.jfinal.ext.handler.ContextPathHandler
-
- contextPathName - 类 中的变量com.jfinal.ext.handler.ContextPathHandler
-
- controller - 类 中的变量com.jfinal.core.ActionInvocation
-
- Controller - com.jfinal.core中的类
-
Controller
昨夜西风凋碧树。
- Controller() - 类 的构造器com.jfinal.core.Controller
-
- controller - 类 中的变量com.jfinal.validate.Validator
-
- controllerClass - 类 中的变量com.jfinal.core.Action
-
- controllerKey - 类 中的变量com.jfinal.core.Action
-
- convert(Class<?>, String) - 类 中的静态方法com.jfinal.core.TypeConverter
-
test for all types of mysql
表单提交测试结果:
1: 表单中的域,就算不输入任何内容,也会传过来 "", 也即永远不可能为 null.
2: 如果输入空格也会提交上来
3: 需要考 model中的 string属性,在传过来 "" 时是该转成 null还是不该转换,
我想, 因为用户没有输入那么肯定是 null, 而不该是 ""
注意: 当clazz参数不为String.class, 且参数s为空串blank的情况,
此情况下转换结果为 null, 而不应该抛出异常
- CPI - com.jfinal.plugin.activerecord中的类
-
Cross Package Invoking pattern for package activerecord.
- CPI() - 类 的构造器com.jfinal.plugin.activerecord.CPI
-
- CPI - com.jfinal.render中的类
-
Cross Package Invoking for render.
- CPI() - 类 的构造器com.jfinal.render.CPI
-
- createCacheManager() - 类 中的方法com.jfinal.plugin.ehcache.EhCachePlugin
-
- createInterceptors(Before) - 类 中的方法com.jfinal.core.InterceptorBuilder
-
Create interceptors with Annotation of Before.
- createJFinalConfig(String) - 类 中的方法com.jfinal.core.JFinalFilter
-
- createLoggerFactory() - 类 中的静态方法com.jfinal.log.Logger
-
- createToken(String, int) - 类 中的方法com.jfinal.core.Controller
-
Create a token.
- createToken() - 类 中的方法com.jfinal.core.Controller
-
Create a token with default token name ---> "token" and with default seconds of time out.
- createToken(Controller, String, int) - 类 中的静态方法com.jfinal.token.TokenManager
-
Create Token.
- createTokenHiddenField(Controller, String, String) - 类 中的静态方法com.jfinal.token.TokenManager
-
Use ${token!}
- createTokenUseTokenIdGenerator(Controller, String, int) - 类 中的静态方法com.jfinal.token.TokenManager
-
- ctx - 类 中的静态变量com.jfinal.plugin.spring.IocInterceptor
-
- ctx - 类 中的变量com.jfinal.plugin.spring.SpringPlugin
-