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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 x`L+7,&n  
`;/XK,m-  
struts.action.extension w5(yCyNp~  
      The URL extension to use to determine if the request is meant for a Struts action =x#&\ui  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 dm& /K 4c  
cmIT$?J  
struts.configuration WGMb8 /{$P  
      The org.apache.struts2.config.Configuration implementation class [4\aYB9N  
        org.apache.struts2.config.Configuration接口名 u>}zm_  
t)'dF*L  
struts.configuration.files cd&B?\I  
      A list of configuration files automatically loaded by Struts  Fs)  
      struts自动加载的一个配置文件列表 y!hi"!  
LuL$v+`  
struts.configuration.xml.reload ~#4~_d.=L  
      Whether to reload the XML configuration or not Gk 6fO  
      是否加载xml配置(true,false) hIo0S8MOj$  
}Aw47;5q;  
struts.continuations.package 0 Az/fzJlz  
      The package containing actions that use Rife continuations ^Et ,TF\  
      含有actions的完整连续的package名称 8W$L:{ez  
H`5Ct  
struts.custom.i18n.resources 3Y(9\}E@`  
      Location of additional localization properties files to load }H2#H7!H  
      加载附加的国际化属性文件(不包含.properties后缀) qy&\Xgn;GA  
J'Gm7h{   
struts.custom.properties gi1j/j7  
      Location of additional configuration properties files to load 'e85s%ru  
      加载附加的配置文件的位置 q<EEb  
gb(#DbI  
rei5{PC  
struts.devMode `V@z&n0P6  
      Whether Struts is in development mode or not Ih3$  
      是否为struts开发模式 6%UY1Q.?  
\ j:AR4  
struts.dispatcher.parametersWorkaround 3fl7~Lw,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wonYm27f  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F1J#Y$q~L  
IX.sy  
struts.enable.DynamicMethodInvocation V]m^7^m3  
      Allows one to disable dynamic method invocation from the URL j-6v2MH  
        允许动态方法调用 82s 5VQ6  
k% NrL@z  
struts.freemarker.manager.classname L20rv:W$h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -$9~xX  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 LyV#j>gD  
*F|+2?a:$  
struts.i18n.encoding RAwk7F3qn  
      The encoding to use for localization messages @Kp1k> ov  
      国际化信息内码 =Sa~\k+  
| @ *3^'  
struts.i18n.reload K-6p'|  
      Whether the localization messages should automatically be reloaded 6i-*N[!U  
      是否国际化信息自动加载 )WmZP3$^TX  
F3 Y<ZbxT  
struts.locale {6:& %V  
      The default locale for the Struts application 3; A$<s  
      默认的国际化地区信息 |,{+;:  
8m|x#*5fQl  
struts.mapper.class %z2oDAjX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class RQ|?Ce",  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 nNu[c[V  
8yvJ`eL-  
struts.multipart.maxSize *0\k Z,#BJ  
      The maximize size of a multipart request (file upload) &1~Re.* B  
      multipart请求信息的最大尺寸(文件上传用) H) cQO?B  
F^xaz^=`u  
struts.multipart.parser R}hlDJ/m-  
      The org.apache.struts2.dispatcher.multipart. 0JyqCb l  
      MultiPartRequest parser implementation for a multipart request (file upload) l@#b;M/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Kk`<f d  
G>JxIrN0  
J+i X,X  
struts.multipart.saveDir Zik m?(J  
      The directory to use for storing uploaded files ]| z")gOE  
      设置存储上传文件的目录夹 WSS(Bm|B  
sSV^5  
struts.objectFactory w~]} acP  
      The com.opensymphony.xwork2.ObjectFactory implementation class F=: c5z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Txu>/1N,  
aX]y`  
struts.objectFactory.spring.autoWire Lg b  
      Whether Spring should autoWire or not 1 0V+OIC  
      是否自动绑定Spring t"tNtLI  
q 7`   
struts.objectFactory.spring.useClassCache =O,e97  
      Whether Spring should use its class cache or not gkLr]zv  
      是否spring应该使用自身的cache E}t-N  
t:disL& !E  
struts.objectTypeDeterminer 6kC)\ uy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `u$24h'!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 A>5S]  
;2BPPZ  
struts.serve.static.browserCache a0 qj[+  
If static content served by the Struts filter should set browser caching header properties or not /CbkqNV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Q6xgLx[  
;=#qHo9k1%  
struts.serve.static [|jIC  
      Whether the Struts filter should serve static content or not .N&QW `  
      是否struts过滤器应该提供静态内容 bu;vpNa  
]Px:d+wX:  
struts.tag.altSyntax ~O8] 3+U  
      Whether to use the alterative syntax for the tags or not y^ 3,X_0  
      是否可以用替代的语法替代tags |]I#CdO  
>|(WS.n3C  
struts.ui.templateDir {8_:4`YZ  
      The directory containing UI templates ID&zY;f  
      UI templates的目录夹 X=\x&Wt  
g*^wF?t'T  
struts.ui.theme D8W(CE^}  
      The default UI template theme '&+Z,  
      默认的UI template主题 u"eZa!#  
$*g{[&L|6  
struts.url.http.port m[{nm95QZ  
      The HTTP port used by Struts URLs %N!h38N2  
      设置http端口 L{zamVQG  
p<ry$=`  
struts.url.https.port Y/#:)(&@  
      The HTTPS port used by Struts URLs 2zwuvgiZ  
      设置https端口 2~+'vi  
MuN [U17FB  
struts.url.includeParams +h9`I/R  
      The default includeParams method to generate Struts URLs !P+~ c0DF  
      在url中产生 默认的includeParams O'Vh{JHf  
?NQD#  
6CCZda@  
struts.velocity.configfile +HYN$>  
      The Velocity configuration file path *'s&/vEy  
      velocity配置文件路径 +W!'B r  
WReYF+Uen  
struts.velocity.contexts 65 NWX8f}  
      List of Velocity context names 9[B<rz  
      velocity的context列表 E\W;:p,{A  
>I{4  
!Mm+bWn=mB  
struts.velocity.manager.classname 4c~*hMr y  
      org.apache.struts2.views.velocity.VelocityManager implementation class HdDo&#  
      org.apache.struts2.views.velocity.VelocityManager接口名 !N@Yh"c  
w}fqs/)w  
struts.velocity.toolboxlocation "~B~{ _<j  
      The location of the Velocity toolbox ^Jc$BMaVg  
      velocity工具盒的位置 :+kg4v&r  
struts.xslt.nocache `1}HWLBX.  
      Whether or not XSLT templates should not be cached \3,$YlG  
      是否XSLT模版应该被缓存 %jYQ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八