社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 4541阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 [^CV>RuO  
ca i <,3H  
struts.action.extension z>sbr<doa  
      The URL extension to use to determine if the request is meant for a Struts action m>USD? i  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4iA Z+l5&  
6+r$t#  
struts.configuration S/|,u`g-  
      The org.apache.struts2.config.Configuration implementation class O[tvR:Nh  
        org.apache.struts2.config.Configuration接口名 1b=lpw 1}  
d->|EJP  
struts.configuration.files H]Hv;fcC  
      A list of configuration files automatically loaded by Struts mxor1P#|  
      struts自动加载的一个配置文件列表 =q N2Xg/  
^` un'5Vk  
struts.configuration.xml.reload db'/`JeK b  
      Whether to reload the XML configuration or not U*90m~)  
      是否加载xml配置(true,false) BA\/YW @  
@SCI"H%[  
struts.continuations.package %ZHP2j %~  
      The package containing actions that use Rife continuations n]8<DX99Q0  
      含有actions的完整连续的package名称 N0hE4t  
r0p w_j  
struts.custom.i18n.resources 6'\6OsH  
      Location of additional localization properties files to load f0Bto/,>~  
      加载附加的国际化属性文件(不包含.properties后缀) x.Q&$#  
+`3!I  
struts.custom.properties z-M3  
      Location of additional configuration properties files to load o7IxJCL=Q  
      加载附加的配置文件的位置 U,nEbKJgk  
a0r"N[&  
(sVi\R  
struts.devMode /}-CvSR  
      Whether Struts is in development mode or not ySI~{YVM  
      是否为struts开发模式 eQQ>  
N !TW!  
struts.dispatcher.parametersWorkaround bn |zl!Pq  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C8F7bG8c  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) C6rg<tCH  
J\ e+}{  
struts.enable.DynamicMethodInvocation re> rr4@  
      Allows one to disable dynamic method invocation from the URL K~ ;45Z2  
        允许动态方法调用 2NB L}x  
hYawU@R  
struts.freemarker.manager.classname 6e7{Iy  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \U@rg4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 S_~z-`;h!  
~|<m,)!  
struts.i18n.encoding sXNb}gJ  
      The encoding to use for localization messages *L!!]Q2c  
      国际化信息内码 ayAo^q  
{3&|tk!*  
struts.i18n.reload c'*a{CV4P  
      Whether the localization messages should automatically be reloaded {d?$m*YR3`  
      是否国际化信息自动加载 y\&>Z yOY  
y-CX}B#j  
struts.locale [Y`,qB<B  
      The default locale for the Struts application {[+2n]f_G  
      默认的国际化地区信息 u ElAnrm  
vf8\i-U=  
struts.mapper.class VN%INUi@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [e1S^pI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1T:Y0  
JMTvSXr  
struts.multipart.maxSize }.z&P'  
      The maximize size of a multipart request (file upload) Z{H5oUk  
      multipart请求信息的最大尺寸(文件上传用) _v* nlc  
cW+t#>' r  
struts.multipart.parser x"~~l  
      The org.apache.struts2.dispatcher.multipart. $Y 7c  
      MultiPartRequest parser implementation for a multipart request (file upload) hTwA%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }MlwC;ot  
/<rt1&0  
j^`hzh3S  
struts.multipart.saveDir Uo-`>7  
      The directory to use for storing uploaded files d:F @a  
      设置存储上传文件的目录夹 S/ibb&  
p6vKoI#T  
struts.objectFactory not YeY7wR  
      The com.opensymphony.xwork2.ObjectFactory implementation class JH8zF{?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) N:9>dpP}O  
`8FUX= Sh  
struts.objectFactory.spring.autoWire cm[c ze+*  
      Whether Spring should autoWire or not y9KB< yh/  
      是否自动绑定Spring ^gFqRbuS  
*s;|T?~i  
struts.objectFactory.spring.useClassCache }cN@[3v  
      Whether Spring should use its class cache or not h;jIYxj  
      是否spring应该使用自身的cache xai4pF-?  
3 zn W=  
struts.objectTypeDeterminer P bQk<"J1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class f0T ,ul,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -@ZiS^l  
WMj}kq)SY)  
struts.serve.static.browserCache _.-;5M-  
If static content served by the Struts filter should set browser caching header properties or not #:d =)Qj0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 )>c>oMgl  
 kQ   
struts.serve.static 6eokCc"o  
      Whether the Struts filter should serve static content or not "al `$%(  
      是否struts过滤器应该提供静态内容 u_).f<mUdF  
lq"f[-8a2q  
struts.tag.altSyntax mZUfn%QXb(  
      Whether to use the alterative syntax for the tags or not l|hUw  
      是否可以用替代的语法替代tags %r+vSGt;5  
4GB7A]^E  
struts.ui.templateDir u~)`&1{%  
      The directory containing UI templates <?D\+khlq  
      UI templates的目录夹 w eQYQrN  
b9XW9O `B  
struts.ui.theme ]#.]/f >-  
      The default UI template theme XerbUkZ  
      默认的UI template主题 "4%"&2L  
Vn~UB#]'3  
struts.url.http.port Oq3A#6~  
      The HTTP port used by Struts URLs sm$ (Y.N  
      设置http端口 _Ob@`  
c=AOkX3UD  
struts.url.https.port =LTmr1?  
      The HTTPS port used by Struts URLs g&n)fF  
      设置https端口 ,<:!NF9  
4R5D88= C  
struts.url.includeParams f>ZyI{  
      The default includeParams method to generate Struts URLs ^V %rag  
      在url中产生 默认的includeParams .] `f,^v<c  
smm]6  
;@ [ 0x  
struts.velocity.configfile C.kxQ<  
      The Velocity configuration file path e${>#>  
      velocity配置文件路径 mR;qMX)0h  
3z ]+uv+2J  
struts.velocity.contexts vF?5].T  
      List of Velocity context names >><.3  
      velocity的context列表 =tU{7i*+  
a {ab*tM  
c"n ?'e  
struts.velocity.manager.classname n$[f94d=  
      org.apache.struts2.views.velocity.VelocityManager implementation class eh[_~>w  
      org.apache.struts2.views.velocity.VelocityManager接口名 :{q"G#  
z5bo_Eq  
struts.velocity.toolboxlocation <94_@3  
      The location of the Velocity toolbox r",]Voibd  
      velocity工具盒的位置 $3,ryXp7  
struts.xslt.nocache F} d  
      Whether or not XSLT templates should not be cached hva2o`  
      是否XSLT模版应该被缓存 MC&\bf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五