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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *-X[u:  
c71y'hnT  
struts.action.extension dE3) | %  
      The URL extension to use to determine if the request is meant for a Struts action | -H& o]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Id9TG/H7  
er\|i. Y  
struts.configuration L~3Pm%{@A  
      The org.apache.struts2.config.Configuration implementation class 0jfuBj5!  
        org.apache.struts2.config.Configuration接口名 4+tEFxvX&  
['D]>Ot68  
struts.configuration.files U<XG{<2  
      A list of configuration files automatically loaded by Struts "dlV k~  
      struts自动加载的一个配置文件列表 XjBD{m(  
7_t'( /yu  
struts.configuration.xml.reload zQ PQ  
      Whether to reload the XML configuration or not #-J>NWdt  
      是否加载xml配置(true,false) /bmN\I  
a+QpM*n7Lq  
struts.continuations.package !,PWb3S  
      The package containing actions that use Rife continuations Gc7=  
      含有actions的完整连续的package名称 '3;b@g,  
RnN!2K  
struts.custom.i18n.resources W,u:gzmhw  
      Location of additional localization properties files to load ;.C\Ss<>*  
      加载附加的国际化属性文件(不包含.properties后缀) j8gdlIx  
zuCSj~  
struts.custom.properties K sCyFp  
      Location of additional configuration properties files to load :!QAC@  
      加载附加的配置文件的位置 L/[K"  
V]^$S"Tv  
jEwIn1  
struts.devMode An@t?#4gxi  
      Whether Struts is in development mode or not ssL\g`xe  
      是否为struts开发模式 xSu >  
,r}6iFu  
struts.dispatcher.parametersWorkaround 5V-I1B&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wIgS3K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Bw.i}3UT6  
Ys7]B9/1O  
struts.enable.DynamicMethodInvocation 73-p*o(pt  
      Allows one to disable dynamic method invocation from the URL q(w(Sd)#L  
        允许动态方法调用 X>^fEQq"  
"N#Y gSr  
struts.freemarker.manager.classname O.M 1@w]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6u%&<")4HP  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4M T 7`sr  
|j|rS5  
struts.i18n.encoding Gw` L"  
      The encoding to use for localization messages '"Nr,vQo  
      国际化信息内码 gG uO  
naNghGQ  
struts.i18n.reload  !@sUj  
      Whether the localization messages should automatically be reloaded 2<6UwF  
      是否国际化信息自动加载 p7 ~!z.)o  
+[ZY:ZQ  
struts.locale #9s,# }  
      The default locale for the Struts application (k P9hcV  
      默认的国际化地区信息 (m$Y<{)2  
e+|sSpA  
struts.mapper.class p<%d2@lp  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4ppz,L,4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \U0'P;em  
E{@[k%,_  
struts.multipart.maxSize "M0z(N kH  
      The maximize size of a multipart request (file upload) qgB_=Q#E  
      multipart请求信息的最大尺寸(文件上传用) QV8g#&z  
-g<oS9   
struts.multipart.parser n+p }\msH  
      The org.apache.struts2.dispatcher.multipart. &&%H%9  
      MultiPartRequest parser implementation for a multipart request (file upload) A}^mdw9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {{1G`;|v 9  
=MWHJ'3-/  
3c%caK  
struts.multipart.saveDir g2]Qv@nxw  
      The directory to use for storing uploaded files _v:SP LU  
      设置存储上传文件的目录夹 `@%LzeGz  
]@TCk8d$0  
struts.objectFactory ]###w;  
      The com.opensymphony.xwork2.ObjectFactory implementation class mZBo~(}  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ig"L\ C"T  
tX[WH\(xI  
struts.objectFactory.spring.autoWire bd`P0f?  
      Whether Spring should autoWire or not 9JwPSAo;  
      是否自动绑定Spring H*6W q  
R-14=|7a-  
struts.objectFactory.spring.useClassCache #;S*V"  
      Whether Spring should use its class cache or not v^P O|Z  
      是否spring应该使用自身的cache NlXimq  
1mJ Hued=6  
struts.objectTypeDeterminer sRfcF`7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !~Z"9(v'C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,//S`j$S  
8EY:t zw  
struts.serve.static.browserCache ^sZ,2,^  
If static content served by the Struts filter should set browser caching header properties or not vD4*&|8T#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5R7DDJk  
0\$2X- c  
struts.serve.static 1x^GWtRp  
      Whether the Struts filter should serve static content or not D'4\*4is  
      是否struts过滤器应该提供静态内容 Hp?/a?\Xm  
#E]59_  
struts.tag.altSyntax <N @Gu!N8  
      Whether to use the alterative syntax for the tags or not f mGc^d|=  
      是否可以用替代的语法替代tags QL*IiFR  
92{\B- l  
struts.ui.templateDir ?ubro0F:  
      The directory containing UI templates .C(tMF]D,  
      UI templates的目录夹 JI5Dy>u:  
X?Au/  
struts.ui.theme 'q.!|G2U  
      The default UI template theme .^.z2 e  
      默认的UI template主题 ce(#2o&`  
Ca\6vR  
struts.url.http.port N21smC}  
      The HTTP port used by Struts URLs ;}t(Wnu.  
      设置http端口 %)n=x ne  
Ho%CDz z  
struts.url.https.port WhDJ7{D  
      The HTTPS port used by Struts URLs "#48% -'x  
      设置https端口 11lsf/IP  
D{!IW!w  
struts.url.includeParams xC?h2hIt  
      The default includeParams method to generate Struts URLs W!<U85-#S  
      在url中产生 默认的includeParams j.YA 2mr  
n`KY9[0U=  
_*zt=zn>  
struts.velocity.configfile SAz   
      The Velocity configuration file path OJxl<Q=z  
      velocity配置文件路径 }\LQ3y"[  
nDW9NQ  
struts.velocity.contexts W>LR\]Ti@  
      List of Velocity context names D,6:EV"sa  
      velocity的context列表 t&p|Ynz?i  
Dzbz)Zst  
&wX]_:?  
struts.velocity.manager.classname cnLro  
      org.apache.struts2.views.velocity.VelocityManager implementation class  3CJwj  
      org.apache.struts2.views.velocity.VelocityManager接口名 cNH7C"@GVu  
-YE^zzh  
struts.velocity.toolboxlocation ;Qq\DFe.w  
      The location of the Velocity toolbox ~5g~;f[4  
      velocity工具盒的位置 `{Ul!  
struts.xslt.nocache YS ][n_  
      Whether or not XSLT templates should not be cached qWw=8Bq  
      是否XSLT模版应该被缓存 o(HbGHIP  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五