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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i$KpDXP\  
j,2l8?  
struts.action.extension da$BUAqU  
      The URL extension to use to determine if the request is meant for a Struts action 8%~t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 VIR.yh  
5ZAb]F90  
struts.configuration Q^Bt1C  
      The org.apache.struts2.config.Configuration implementation class :Ld!mRZF  
        org.apache.struts2.config.Configuration接口名 0X(]7b&~R  
J:F^ #gW  
struts.configuration.files qYp$fmj  
      A list of configuration files automatically loaded by Struts efuK  
      struts自动加载的一个配置文件列表 kDz>r#%  
qOG}[%<^n7  
struts.configuration.xml.reload [W,-1.$!dM  
      Whether to reload the XML configuration or not n|4;Hn1V  
      是否加载xml配置(true,false) hD<f3_k  
:<~7y.*O{  
struts.continuations.package ~mN% (w!^  
      The package containing actions that use Rife continuations )J3kxmlzQ  
      含有actions的完整连续的package名称 ]PNow S\  
qsg>5E  
struts.custom.i18n.resources fj'j NE  
      Location of additional localization properties files to load NgB 7?]vu  
      加载附加的国际化属性文件(不包含.properties后缀) y$tX-9U  
;S/7 h6  
struts.custom.properties BvSIM%>h  
      Location of additional configuration properties files to load i`O rMzL  
      加载附加的配置文件的位置 1{2eY%+C  
!|m9|  
P l{QOR  
struts.devMode 9''p[V.3  
      Whether Struts is in development mode or not 1:= `Y@.S  
      是否为struts开发模式 YJ2ro-X  
[]&(D_e"  
struts.dispatcher.parametersWorkaround ,dd WBwMK  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aN^IP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) lz~J"$b  
s([Wn)I  
struts.enable.DynamicMethodInvocation <2P7utdZ  
      Allows one to disable dynamic method invocation from the URL chAan~r[*  
        允许动态方法调用 (=T$_-Dj`}  
=J |sbY"]  
struts.freemarker.manager.classname <5Mrp"C[i  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }G1&]Wt_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /4joC9\AB  
V_L[P9  
struts.i18n.encoding PtKTm\,JL0  
      The encoding to use for localization messages o+g4p:Mf  
      国际化信息内码 wy4q[$.4v  
&(&  
struts.i18n.reload '0+$ m=   
      Whether the localization messages should automatically be reloaded XSB8z   
      是否国际化信息自动加载 ?(im+2  
amB@N6*  
struts.locale KC&`x |  
      The default locale for the Struts application +|C[-W7Sw  
      默认的国际化地区信息 >v0:qN7|  
BGjb`U#%3  
struts.mapper.class X_70]^XL  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class mPmB6q%)]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \].J-^=  
WSI Xj5R  
struts.multipart.maxSize (Imp $  
      The maximize size of a multipart request (file upload) IG / $!* E  
      multipart请求信息的最大尺寸(文件上传用) M<qudi  
FpkXOj?*  
struts.multipart.parser U7%28#@  
      The org.apache.struts2.dispatcher.multipart. 4=p@2g2"H  
      MultiPartRequest parser implementation for a multipart request (file upload) }#b %"I0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b4~H3|  
c d%hW  
_@ i>s,  
struts.multipart.saveDir AQci,j"  
      The directory to use for storing uploaded files $ly0h W  
      设置存储上传文件的目录夹 0MpS4tW0=  
~+m,im8}  
struts.objectFactory 9)Yw :  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6D9o08  
      com.opensymphony.xwork2.ObjectFactory接口(spring) E8tD)=1  
y-cw~kNPP3  
struts.objectFactory.spring.autoWire G6Q4-kcK  
      Whether Spring should autoWire or not `Ei"_W  
      是否自动绑定Spring r69WD .  
cTj~lO6  
struts.objectFactory.spring.useClassCache 5V|tXsy:  
      Whether Spring should use its class cache or not *j<@yG2\gP  
      是否spring应该使用自身的cache O: u%7V/  
gNa#|  
struts.objectTypeDeterminer hh&Js'd  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class yH(V&Tv  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [~?M/QI9  
?0npEz|  
struts.serve.static.browserCache YY!!<2_  
If static content served by the Struts filter should set browser caching header properties or not 9N}W(>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =QiT)9q)  
$j !8?  
struts.serve.static !3KPwI,  
      Whether the Struts filter should serve static content or not z^~U]S3  
      是否struts过滤器应该提供静态内容 %UmbDGDWI  
P|N?OocE  
struts.tag.altSyntax h>tsis'N9  
      Whether to use the alterative syntax for the tags or not [s %\.y(q  
      是否可以用替代的语法替代tags _5h0@^m7y  
p#M!S2&z  
struts.ui.templateDir 3o7xN=N  
      The directory containing UI templates 4qBY% 1  
      UI templates的目录夹 AijUs*n 2  
aL$j/SC  
struts.ui.theme B*Cb6'Q  
      The default UI template theme fMB4xbpD  
      默认的UI template主题 6bJ"$o  
O<a3DyUa;  
struts.url.http.port e3rfXhp  
      The HTTP port used by Struts URLs R1 qMg+  
      设置http端口 AJWLEc4XK  
nCB[4  
struts.url.https.port 36i_D6  
      The HTTPS port used by Struts URLs KW:r;BFx  
      设置https端口 y<uE-4  
x9\J1\  
struts.url.includeParams au A.6DQ  
      The default includeParams method to generate Struts URLs <tQXK;  
      在url中产生 默认的includeParams 83xd@-czgh  
1Q_ ``.M  
T`mEO\f  
struts.velocity.configfile 7 FIFSt  
      The Velocity configuration file path q @*UUj@   
      velocity配置文件路径 eHROBxH&  
< [ w++F~  
struts.velocity.contexts `^f}$R|  
      List of Velocity context names K*[0dza$  
      velocity的context列表 a}GAB@YI  
Vd[  2u  
|3|wdzV  
struts.velocity.manager.classname 7rPLnB]  
      org.apache.struts2.views.velocity.VelocityManager implementation class FP@ A;/c  
      org.apache.struts2.views.velocity.VelocityManager接口名 UR\ZN@O  
Wb'*lT0=  
struts.velocity.toolboxlocation DlS&qFs  
      The location of the Velocity toolbox Xi*SDy  
      velocity工具盒的位置 &{hc   
struts.xslt.nocache (mY(\mu}  
      Whether or not XSLT templates should not be cached mC "7)&,F  
      是否XSLT模版应该被缓存 0. (zTJ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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