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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _J \zj  
%K3U`6kHcd  
struts.action.extension XQ[\K6X5  
      The URL extension to use to determine if the request is meant for a Struts action r1IvA^X  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *jc >?)k  
,2Ed^!`  
struts.configuration ZG H 7_K  
      The org.apache.struts2.config.Configuration implementation class rMJ@oc  
        org.apache.struts2.config.Configuration接口名 ~.^:?yCA  
m=E/um[D  
struts.configuration.files :kI[Pf!z  
      A list of configuration files automatically loaded by Struts X4:84  
      struts自动加载的一个配置文件列表 jbe:"S tw  
P]^8Enp  
struts.configuration.xml.reload B0yGr\KJ  
      Whether to reload the XML configuration or not . mO8 ~Z  
      是否加载xml配置(true,false) }O crA/  
?+=,t]`!m  
struts.continuations.package 0&NM=~  
      The package containing actions that use Rife continuations R?lTB3"  
      含有actions的完整连续的package名称 l[5** ?#  
<astIu Au  
struts.custom.i18n.resources Z)xcxSo  
      Location of additional localization properties files to load : ^}!"4{  
      加载附加的国际化属性文件(不包含.properties后缀) 9:RV5Dt  
-tWxB GSa@  
struts.custom.properties :I";&7C  
      Location of additional configuration properties files to load |b='DJz2  
      加载附加的配置文件的位置 bt1bTo  
L=Aj+  
r*mYtS  
struts.devMode 4IW90"uc  
      Whether Struts is in development mode or not 7lF;(l^Z>}  
      是否为struts开发模式 l<=k#d  
N4VZl[7?  
struts.dispatcher.parametersWorkaround X(d:!-_m *  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic emJZ+:%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "dndhoMq  
!X"nN9k  
struts.enable.DynamicMethodInvocation aDz% %%:r  
      Allows one to disable dynamic method invocation from the URL +ah4 K(+3  
        允许动态方法调用 -ys/I,}<  
#gWok'ZcR  
struts.freemarker.manager.classname rLD1Cpeb,w  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @~$=96^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KMb'm+  
$Nvox<d0  
struts.i18n.encoding )2W7>PY  
      The encoding to use for localization messages -u~:Gd*l0  
      国际化信息内码 8%4v6No&*  
:+9. v  
struts.i18n.reload k "7,-0gz  
      Whether the localization messages should automatically be reloaded EqD@o  
      是否国际化信息自动加载 "S{GjOlEDF  
8TH;6-RT  
struts.locale dQH8s  
      The default locale for the Struts application {s*1QBM$\Z  
      默认的国际化地区信息 ~a7@O^q 4  
\hlS?uD\  
struts.mapper.class TGG=9a]m  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class  K\ pZ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 A9Ea}v9:  
|iSwG=&  
struts.multipart.maxSize 2XBHo (  
      The maximize size of a multipart request (file upload) +  rN#  
      multipart请求信息的最大尺寸(文件上传用) \C;Yn6PK0  
L*Ffic  
struts.multipart.parser >W/mRv&  
      The org.apache.struts2.dispatcher.multipart. z/5TYv)S  
      MultiPartRequest parser implementation for a multipart request (file upload) *pS3xit~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %y>*9$<pXe  
'dQGb-<_<  
$i8oLSRV  
struts.multipart.saveDir rjfWty%6pX  
      The directory to use for storing uploaded files mDwuJf8}  
      设置存储上传文件的目录夹 8EiS\$O-  
P%[ { 'u  
struts.objectFactory BB1_EdoG  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2^5RQl/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C)qG<PW.!  
60|m3|0o  
struts.objectFactory.spring.autoWire NV} fcZ  
      Whether Spring should autoWire or not GmUm?A@B  
      是否自动绑定Spring kp?_ir  
o"N\l{#s  
struts.objectFactory.spring.useClassCache o4rf[.z  
      Whether Spring should use its class cache or not bTYR=^9  
      是否spring应该使用自身的cache g rQ,J  
bS|h~B]rd  
struts.objectTypeDeterminer u[wDOw  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class xw~oR|`U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _iqaKYT$  
A5}N[|z  
struts.serve.static.browserCache n ]l3 )u  
If static content served by the Struts filter should set browser caching header properties or not ;L],i<F  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y?oeP^V'u  
2I=4l  
struts.serve.static ms&5Bq+9  
      Whether the Struts filter should serve static content or not KxJDAP  
      是否struts过滤器应该提供静态内容 |a0@4 :  
p4uObK,  
struts.tag.altSyntax tC+1 1M  
      Whether to use the alterative syntax for the tags or not rP(;^8l"  
      是否可以用替代的语法替代tags +r"fv*g"  
lYm00v6y  
struts.ui.templateDir ^#h ;bX#  
      The directory containing UI templates Yv{$XI7  
      UI templates的目录夹 c; 1 f$$>b  
z+_d*\  
struts.ui.theme !a%_A^t7  
      The default UI template theme JsX}PVuL  
      默认的UI template主题 (c3O> *M  
gZz5P>^  
struts.url.http.port mX @xV*  
      The HTTP port used by Struts URLs *L<<S=g$2  
      设置http端口 FYg{IKg  
T}'*Gry  
struts.url.https.port PC,I"l  
      The HTTPS port used by Struts URLs |mw3v>  
      设置https端口 oBPm^ob4  
>T14 J'\  
struts.url.includeParams y?*Y=,"  
      The default includeParams method to generate Struts URLs '2p,0Bk9i  
      在url中产生 默认的includeParams *'@T+$3s  
? a*yK8S  
@C~gU@F  
struts.velocity.configfile 9~r8$,e  
      The Velocity configuration file path ``h* A  
      velocity配置文件路径 \gir  
pe\]}&  
struts.velocity.contexts Wjd_|Kui  
      List of Velocity context names {|q(4(f"Iu  
      velocity的context列表 l n09_Lr  
%:-2P  
g`=Z%{z%  
struts.velocity.manager.classname M"OCwBT U  
      org.apache.struts2.views.velocity.VelocityManager implementation class %wq;<'W  
      org.apache.struts2.views.velocity.VelocityManager接口名 `4|:8@,3{  
^ -lWv  
struts.velocity.toolboxlocation E@@XWU21;N  
      The location of the Velocity toolbox S]c&T`jx  
      velocity工具盒的位置 `y&2Bf  
struts.xslt.nocache T' )l  
      Whether or not XSLT templates should not be cached s%zdP  
      是否XSLT模版应该被缓存 s<LYSrd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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