网站首页
JSP空间
动态资讯
开源项目
技术文档
资源下载
J2EE资源
客户论坛
在线支付
 
  技术文档>>JAVA>>新手入门>>基础入门>查看文档  
  struts2的struts.properties配置文件详解     
  文章作者:未知  文章来源:水木森林  
  查看:84次  录入:管理员--2007-11-17  
 
  struts.action.extension
          the url extension to use to determine if the request is meant for a struts action 
           用url扩展名来确定是否这个请求是被用作struts action,其实也就是设置 action的后缀,例如login.do的'do'字。

struts.configuration
          the org.apache.struts2.config.configuration implementation class
            org.apache.struts2.config.configuration接口名

struts.configuration.files
          a list of configuration files automatically loaded by struts 
           struts自动加载的一个配置文件列表

struts.configuration.xml.reload
          whether to reload the xml configuration or not
           是否加载xml配置(true,false)

struts.continuations.package
           the package containing actions that use rife continuations
           含有actions的完整连续的package名称

struts.custom.i18n.resources
          location of additional localization properties files to load 
           加载附加的国际化属性文件(不包含.properties后缀)

struts.custom.properties
          location of additional configuration properties files to load
           加载附加的配置文件的位置

struts.devmode
          whether struts is in development mode or not
           是否为struts开发模式

struts.dispatcher.parametersworkaround
          whether to use a servlet request parameter workaround necessary for some versions of weblogic
            (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(parametersworkaround)

struts.enable.dynamicmethodinvocation
          allows one to disable dynamic method invocation from the url
            允许动态方法调用

struts.freemarker.manager.classname
          the org.apache.struts2.views.freemarker.freemarkermanager implementation class 
           org.apache.struts2.views.freemarker.freemarkermanager接口名

struts.i18n.encoding
          the encoding to use for localization messages
           国际化信息内码

struts.i18n.reload
          whether the localization messages should automatically be reloaded
           是否国际化信息自动加载 

struts.locale
          the default locale for the struts application
           默认的国际化地区信息

struts.mapper.class
          the org.apache.struts2.dispatcher.mapper.actionmapper implementation class
            org.apache.struts2.dispatcher.mapper.actionmapper接口

struts.multipart.maxsize
          the maximize size of a multipart request (file upload)
           multipart请求信息的最大尺寸(文件上传用) 

struts.multipart.parser
          the org.apache.struts2.dispatcher.multipart.
          multipartrequest parser implementation for a multipart request (file upload) 
          专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.multipartrequest解析器接口(文件上传用)

struts.multipart.savedir
          the directory to use for storing uploaded files 
           设置存储上传文件的目录夹

struts.objectfactory
          the com.opensymphony.xwork2.objectfactory implementation class
           com.opensymphony.xwork2.objectfactory接口(spring)

struts.objectfactory.spring.autowire
          whether spring should autowire or not
           是否自动绑定spring

struts.objectfactory.spring.useclasscache
          whether spring should use its class cache or not
           是否spring应该使用自身的cache 

struts.objecttypedeterminer
          the com.opensymphony.xwork2.util.objecttypedeterminer implementation class
            com.opensymphony.xwork2.util.objecttypedeterminer接口

struts.serve.static.browsercache
  if static content served by the struts filter should set browser caching header properties or not 
           是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中

struts.serve.static
          whether the struts filter should serve static content or not 
           是否struts过滤器应该提供静态内容

struts.tag.altsyntax
          whether to use the alterative syntax for the tags or not 
           是否可以用替代的语法替代tags

struts.ui.templatedir
          the directory containing ui templates
           ui templates的目录夹 

struts.ui.theme
          the default ui template theme
           默认的ui template主题

struts.url.http.port
          the http port used by struts urls
           设置http端口

struts.url.https.port
          the https port used by struts urls 
           设置https端口

struts.url.includeparams
          the default includeparams method to generate struts urls 
          在url中产生 默认的includeparams

struts.velocity.configfile
          the velocity configuration file path
           velocity配置文件路径

struts.velocity.contexts
          list of velocity context names
           velocity的context列表

struts.velocity.manager.classname
          org.apache.struts2.views.velocity.velocitymanager implementation class
           org.apache.struts2.views.velocity.velocitymanager接口名

struts.velocity.toolboxlocation
          the location of the velocity toolbox
           velocity工具盒的位置 
struts.xslt.nocache
          whether or not xslt templates should not be cached
           是否xslt模版应该被缓存
 
 
上一篇: java语言深入 java之精髓io流    下一篇: 开源技术:hibernate点滴
  相关文档
java基础应用: 单机版管理系统源代码 11-16
框架:当前流行的j2ee web应用架构分析 02-27
初探java类加载机制的奥秘技巧 11-17
java开发环境的过去、现在和将来 11-16
[snap]实例讲解移动qq在线平台 11-17
java中的时间操作 11-17
由http暗藏通道看网络安全 11-17
模糊测试 对代码质量影响深远的技术 11-17
如何在java中如何定义一个常量 11-17
java编程思想:面向对象的逻辑思维方法 11-17
找回丢失的源代码 11-17
java2下applet数字签名具体实现方法 11-16
java 理论与实践:让 j2ee 脱离容器 11-17
javascript在e-mail中的应用 11-17
用java annotations来管理对象生命周期 01-22
wait,notify,sleep,join和线程同步问题 11-17
怎样在java实例开发的过程中使用进度条 11-17
按照屏幕比例改变窗口大小 11-17
java ws和c#调用 11-17
java编程规范 11-16
返回首页 | 关于我们 | J网章程 | JSP空间合租 | 客服中心 | 免责声明 | 常见问题 | 参观机房
本站主机空间代理至厦门市华众网络科技有限公司
《中华人民共和国增值电信业务经营许可证》
编号:闽B2-20050079
@2005-2008福建JSP技术网 版权所有 闽ICP备05000928号
技术电话:13616026886
邮箱:admin@fjjsp.com 站长QQ,点击这里给我发消息