【Struts2.0】struts2的struts.properties配置文件详解

  1. struts.action.extension
  2.           The URL extension to use to determine if the request is meant for a Struts action 
  3.            用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do'do'字。
  4. struts.configuration
  5.           The org.apache.struts2.config.Configuration implementation class
  6.             org.apache.struts2.config.Configuration接口名
  7. struts.configuration.files
  8.           A list of configuration files automatically loaded by Struts 
  9.            struts自动加载的一个配置文件列表
  10. struts.configuration.xml.reload
  11.           Whether to reload the XML configuration or not
  12.            是否加载xml配置(true,false)
  13. struts.continuations.package
  14.            The package containing actions that use Rife continuations
  15.            含有actions的完整连续的package名称
  16. struts.custom.i18n.resources
  17.           Location of additional localization properties files to load 
  18.            加载附加的国际化属性文件(不包含.properties后缀)
  19. struts.custom.properties
  20.           Location of additional configuration properties files to load
  21.            加载附加的配置文件的位置
  22. struts.devMode
  23.           Whether Struts is in development mode or not
  24.            是否为struts开发模式
  25. struts.dispatcher.parametersWorkaround
  26.           Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic
  27.             (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)
  28. struts.enable.DynamicMethodInvocation
  29.           Allows one to disable dynamic method invocation from the URL
  30.             允许动态方法调用
  31. struts.freemarker.manager.classname
  32.           The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 
  33.            org.apache.struts2.views.freemarker.FreemarkerManager接口名
  34. struts.i18n.encoding
  35.           The encoding to use for localization messages
  36.            国际化信息内码
  37. struts.i18n.reload
  38.           Whether the localization messages should automatically be reloaded
  39.            是否国际化信息自动加载 
  40. struts.locale
  41.           The default locale for the Struts application
  42.            默认的国际化地区信息
  43. struts.mapper.class
  44.           The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class
  45.             org.apache.struts2.dispatcher.mapper.ActionMapper接口
  46. struts.multipart.maxSize
  47.           The maximize size of a multipart request (file upload)
  48.            multipart请求信息的最大尺寸(文件上传用) 
  49. struts.multipart.parser
  50.           The org.apache.struts2.dispatcher.multipart.MultiPartRequest parser implementation for a multipart request (file upload) 
  51.           专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)
  52. struts.multipart.saveDir
  53.           The directory to use for storing uploaded files 
  54.            设置存储上传文件的目录夹
  55. struts.objectFactory
  56.           The com.opensymphony.xwork2.ObjectFactory implementation class
  57.            com.opensymphony.xwork2.ObjectFactory接口(spring)
  58. struts.objectFactory.spring.autoWire
  59.           Whether Spring should autoWire or not
  60.            是否自动绑定Spring
  61. struts.objectFactory.spring.useClassCache
  62.           Whether Spring should use its class cache or not
  63.            是否spring应该使用自身的cache 
  64. struts.objectTypeDeterminer
  65.           The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class
  66.             com.opensymphony.xwork2.util.ObjectTypeDeterminer接口
  67. struts.serve.static.browserCache
  68.           If static content served by the Struts filter should set browser caching header properties or not 
  69.            是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中
  70. struts.serve.static
  71.           Whether the Struts filter should serve static content or not 
  72.            是否struts过滤器应该提供静态内容
  73. struts.tag.altSyntax
  74.           Whether to use the alterative syntax for the tags or not 
  75.            是否可以用替代的语法替代tags
  76. struts.ui.templateDir
  77.           The directory containing UI templates
  78.            UI templates的目录夹 
  79. struts.ui.theme
  80.           The default UI template theme
  81.            默认的UI template主题
  82. struts.url.http.port
  83.           The HTTP port used by Struts URLs
  84.            设置http端口
  85. struts.url.https.port
  86.           The HTTPS port used by Struts URLs 
  87.            设置https端口
  88. struts.url.includeParams
  89.           The default includeParams method to generate Struts URLs 
  90.           在url中产生 默认的includeParams
  91. struts.velocity.configfile
  92.           The Velocity configuration file path
  93.            velocity配置文件路径
  94. struts.velocity.contexts
  95.           List of Velocity context names
  96.            velocity的context列表
  97. struts.velocity.manager.classname
  98.           org.apache.struts2.views.velocity.VelocityManager implementation class
  99.            org.apache.struts2.views.velocity.VelocityManager接口名
  100. struts.velocity.toolboxlocation
  101.           The location of the Velocity toolbox
  102.            velocity工具盒的位置 
  103. struts.xslt.nocache
  104.           Whether or not XSLT templates should not be cached
  105.            是否XSLT模版应该被缓存  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值