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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 DZ @B9<Zz{  
dl"=ZI '^  
struts.action.extension 0hhxTOp  
      The URL extension to use to determine if the request is meant for a Struts action Rc:}%a%e  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >|z:CX$]  
tz8 fZ*n  
struts.configuration "F}dZ  
      The org.apache.struts2.config.Configuration implementation class z#Fel/L`O  
        org.apache.struts2.config.Configuration接口名 \vJ0Mhk1  
S6}_N/;6~  
struts.configuration.files .'&pw }F  
      A list of configuration files automatically loaded by Struts c:e3hJ  
      struts自动加载的一个配置文件列表 c9G%;U)  
(5@H<c^6  
struts.configuration.xml.reload X 0iy  
      Whether to reload the XML configuration or not !uoT8BBAk  
      是否加载xml配置(true,false) Z.&/,UU:4  
]tXIe?>9  
struts.continuations.package h (q,T$7 W  
      The package containing actions that use Rife continuations +SF+$^T  
      含有actions的完整连续的package名称 '#yqw%  
4#}aLP  
struts.custom.i18n.resources er5!n e  
      Location of additional localization properties files to load HAL\j 5i  
      加载附加的国际化属性文件(不包含.properties后缀) mI5J] hk  
*RxJ8.G  
struts.custom.properties 1a/C(4 _k  
      Location of additional configuration properties files to load ii_kgqT^  
      加载附加的配置文件的位置 }LCm_av  
(c)=Do=  
G^tazAEfo  
struts.devMode h]h"-3  
      Whether Struts is in development mode or not zBl L98  
      是否为struts开发模式 q01 L{~>bz  
;py9,Wno  
struts.dispatcher.parametersWorkaround 5q*s_acQ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E a&NJ]& g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Yb^e7Eug  
`kuu}YUi  
struts.enable.DynamicMethodInvocation u178vby;l  
      Allows one to disable dynamic method invocation from the URL Ovc9x\N  
        允许动态方法调用 i%!<6K6UT  
pHoHngyi&  
struts.freemarker.manager.classname -yB}(69  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xh bN=L  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 '5 Yzo^R;  
jhf# gdz%  
struts.i18n.encoding HA8A}d~  
      The encoding to use for localization messages \#(1IC`as  
      国际化信息内码 SGSyO0O  
YTFU# F  
struts.i18n.reload EYn?YiVFU  
      Whether the localization messages should automatically be reloaded w$/lq~zU  
      是否国际化信息自动加载 %-yzU/`JF  
;  ?f+  
struts.locale o S=!6h  
      The default locale for the Struts application 4VZI]3K,  
      默认的国际化地区信息 , + G  
t$(#$Z,RS  
struts.mapper.class CDM6o!ur3  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )M.s<Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ij7P-5=<  
VS/M@y_./  
struts.multipart.maxSize ']TWWwj$  
      The maximize size of a multipart request (file upload) P4q5#r  
      multipart请求信息的最大尺寸(文件上传用) u+Ix''Fn#%  
1R3,Z8j'  
struts.multipart.parser !DzeJWM|  
      The org.apache.struts2.dispatcher.multipart. ru@#s2  
      MultiPartRequest parser implementation for a multipart request (file upload) PkrVQH9^w  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9:4S[mz/hD  
0: a2ER|J  
$*942. =Q  
struts.multipart.saveDir ns%gb!FBJX  
      The directory to use for storing uploaded files :-}K:ucaj  
      设置存储上传文件的目录夹 pe vXixl  
{o5|(^l  
struts.objectFactory u0Wt"d-=  
      The com.opensymphony.xwork2.ObjectFactory implementation class <HoCt8>U  
      com.opensymphony.xwork2.ObjectFactory接口(spring) zI4rAsysL  
o[cOL^Xd1  
struts.objectFactory.spring.autoWire La )M  
      Whether Spring should autoWire or not KR#,6  
      是否自动绑定Spring ":$4/b6  
D#L(ZlD4  
struts.objectFactory.spring.useClassCache q4[8\Ua  
      Whether Spring should use its class cache or not 9^W7i]-Z  
      是否spring应该使用自身的cache S[exnZ*Y  
A|8"}Hm  
struts.objectTypeDeterminer ~jL%l  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0WC\u xT7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {ogBoDS  
p /-du^:2  
struts.serve.static.browserCache }yK7LooM  
If static content served by the Struts filter should set browser caching header properties or not x6`mv8~9Db  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wx*?@f>u^  
Q"dq_8\`U  
struts.serve.static M !'d  
      Whether the Struts filter should serve static content or not u:f ]|Q  
      是否struts过滤器应该提供静态内容 ,fp+nu8,  
gLX<> |)*  
struts.tag.altSyntax 4HGT gS  
      Whether to use the alterative syntax for the tags or not 04-_ K  
      是否可以用替代的语法替代tags HpEd$+Mz  
9$\s v5  
struts.ui.templateDir g8N"-j&@  
      The directory containing UI templates :oZ<[#p"*  
      UI templates的目录夹 6p4BsWPx  
M5h r0 R{  
struts.ui.theme IFTNr2I  
      The default UI template theme UON=7}=$&  
      默认的UI template主题 = g{I`u  
`f;w  
struts.url.http.port $_"u2"p  
      The HTTP port used by Struts URLs Mwnr4$]  
      设置http端口 Sv M\9  
qUd7O](b=?  
struts.url.https.port QT,T5Q%JP:  
      The HTTPS port used by Struts URLs d$3rcH1  
      设置https端口 ,!l_  
&`I(QY  
struts.url.includeParams zG#5lzIu,  
      The default includeParams method to generate Struts URLs F,Q;sq  
      在url中产生 默认的includeParams 3P6O]x<-?  
'nq=xi@RC  
'IX1WS&\"  
struts.velocity.configfile {!|4JquE_  
      The Velocity configuration file path 3[ [oAp  
      velocity配置文件路径 8X,6U_>#a  
~pRgTXbz  
struts.velocity.contexts $(9QnH1KY  
      List of Velocity context names .2f vRN92  
      velocity的context列表 hN2A%ds*(j  
A0Mjk  
X(ph$,[  
struts.velocity.manager.classname X} k;(rb  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^xa, r#N:V  
      org.apache.struts2.views.velocity.VelocityManager接口名 @q'kKVJs  
&IQ=M.!r  
struts.velocity.toolboxlocation uI-T]N:W8x  
      The location of the Velocity toolbox 2|>\A.I|=  
      velocity工具盒的位置 9~Dg<wQ  
struts.xslt.nocache F-/z@tM  
      Whether or not XSLT templates should not be cached m=01V5_  
      是否XSLT模版应该被缓存 1Z}5ykM3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八