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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `RL"AH:+  
wDe& 1(T^  
struts.action.extension A2jUmK.&  
      The URL extension to use to determine if the request is meant for a Struts action q5)O%l!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fmDCPkj  
PxDh7{  
struts.configuration ]3.;PWa:  
      The org.apache.struts2.config.Configuration implementation class x+@rg];m  
        org.apache.struts2.config.Configuration接口名 N5b!.B x-w  
Ej8^Zg  
struts.configuration.files DN57p!z  
      A list of configuration files automatically loaded by Struts o:Sa, !DK  
      struts自动加载的一个配置文件列表 &FN.:_E  
+!.^zp21  
struts.configuration.xml.reload F@B]et7  
      Whether to reload the XML configuration or not ?+}_1x`  
      是否加载xml配置(true,false) 'AS|ZRr/  
xYpd: Sm  
struts.continuations.package k_nql8H  
      The package containing actions that use Rife continuations O[JL+g4  
      含有actions的完整连续的package名称 ZX./P0  
`&ckZiq  
struts.custom.i18n.resources %/#NK1&M  
      Location of additional localization properties files to load {[?(9u7R  
      加载附加的国际化属性文件(不包含.properties后缀) 1NA.nw.  
J]pir4&j  
struts.custom.properties N U`  
      Location of additional configuration properties files to load 6gu!bu`~  
      加载附加的配置文件的位置 CdjI`  
lchPpm9  
C1 GKLl~  
struts.devMode cB}D^O   
      Whether Struts is in development mode or not Vb]=B~^`  
      是否为struts开发模式 x)O!["'"  
57']#j#"hj  
struts.dispatcher.parametersWorkaround K^<BW(s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +*/Zu`kzX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) z/@slT  
9Y_HyOZ*GX  
struts.enable.DynamicMethodInvocation A@{PZ   
      Allows one to disable dynamic method invocation from the URL PP33i@G  
        允许动态方法调用 @YTaSz$L  
9 X`Sm}i  
struts.freemarker.manager.classname fN1-d&T  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LIF7/$,0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )W _v:?A9  
3K0A)W/YEs  
struts.i18n.encoding OU $#5  
      The encoding to use for localization messages dn$!&  
      国际化信息内码 w-L=LWL\  
PmEsN&YP]  
struts.i18n.reload 3eAX.z`D  
      Whether the localization messages should automatically be reloaded }Sh?S]]`  
      是否国际化信息自动加载 mLLDE;7|}  
]:k/Y$O2  
struts.locale C 7ScS"~  
      The default locale for the Struts application 84zSK)=Y  
      默认的国际化地区信息 B !L{  
rlSeu5X6  
struts.mapper.class 7CURhDdk  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m'=Crei  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 uGK.\PB$  
a![{M<Y~  
struts.multipart.maxSize IDriGZZ<)6  
      The maximize size of a multipart request (file upload) h_,i&d@(  
      multipart请求信息的最大尺寸(文件上传用) j@3Q;F0ba  
q\4Xs$APq  
struts.multipart.parser T;a}#56{^  
      The org.apache.struts2.dispatcher.multipart. ~H<6gN<j(.  
      MultiPartRequest parser implementation for a multipart request (file upload) +.b,AqJ/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) .2Elr(&*h  
H;k~oIs k  
3<f}nfB%r?  
struts.multipart.saveDir 2E)-M9ds  
      The directory to use for storing uploaded files ,Np0wg0  
      设置存储上传文件的目录夹 k|PN0&J  
fW1CFRHH  
struts.objectFactory :vQrOn18p  
      The com.opensymphony.xwork2.ObjectFactory implementation class :zke %Yx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U@)eTHv}6  
i^Y+?Sx  
struts.objectFactory.spring.autoWire CXx*_@}MU  
      Whether Spring should autoWire or not \\H}`0m:  
      是否自动绑定Spring '"/=f\)u  
j[G  
struts.objectFactory.spring.useClassCache dhf!o0'1M  
      Whether Spring should use its class cache or not 2,b(,3{`4:  
      是否spring应该使用自身的cache BLf>_b Uk  
'9Xu p  
struts.objectTypeDeterminer Vl=l?A8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J7Hl\Q[D1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 bP$dU,@p~  
SaAFz&WRl  
struts.serve.static.browserCache `*cxH..  
If static content served by the Struts filter should set browser caching header properties or not 3-qr)h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 !v_|zoCEj  
Ru!iR#s)!  
struts.serve.static H0gbSd+  
      Whether the Struts filter should serve static content or not eFTpnG  
      是否struts过滤器应该提供静态内容 J~ zUp(>K  
*/^q{PsN  
struts.tag.altSyntax /}fHt^2H  
      Whether to use the alterative syntax for the tags or not 8hz^%vm  
      是否可以用替代的语法替代tags G kl71VX  
H.|#c^I  
struts.ui.templateDir GxI!{oi2  
      The directory containing UI templates FF(#]vz'  
      UI templates的目录夹 `O!X((  
/h H  
struts.ui.theme lH x^D;m6  
      The default UI template theme Kp~VS<3  
      默认的UI template主题 SpLzm A  
~IfJwBn-i  
struts.url.http.port n&;85IF1  
      The HTTP port used by Struts URLs Ms5ap<q#  
      设置http端口 HI R~"It$  
bz2ztH9 n  
struts.url.https.port i$:*Pb3mV  
      The HTTPS port used by Struts URLs v6M6>&RR|  
      设置https端口 Vl /+;6_  
Fa Qe_;  
struts.url.includeParams L~rBAIdD  
      The default includeParams method to generate Struts URLs vrhT<+q  
      在url中产生 默认的includeParams 9`A;U|~E@  
H z1%x  
t?x<g<PJ4  
struts.velocity.configfile wOEj)fp .  
      The Velocity configuration file path DJXmGt]  
      velocity配置文件路径 +ocol6G7W  
fF$<7O)+]  
struts.velocity.contexts L_uVL#To  
      List of Velocity context names NMa}{*sQ  
      velocity的context列表 :I j{s  
,]ma+(|  
tqvN0vY5  
struts.velocity.manager.classname a}BYov  
      org.apache.struts2.views.velocity.VelocityManager implementation class {W =%U|f  
      org.apache.struts2.views.velocity.VelocityManager接口名 t7dt*D_YqK  
4n !aW?%  
struts.velocity.toolboxlocation .9on@S  
      The location of the Velocity toolbox z0p*Z&  
      velocity工具盒的位置 X<`  
struts.xslt.nocache F3v !AvA|  
      Whether or not XSLT templates should not be cached x=hiQ>BIO0  
      是否XSLT模版应该被缓存 pMx*F@&nU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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