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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]^&DEj{  
/^#k /z  
struts.action.extension |RwD]2H  
      The URL extension to use to determine if the request is meant for a Struts action ,u{d@U^)3@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 :4<+)r26  
s>"=6gb  
struts.configuration 2sy{  
      The org.apache.struts2.config.Configuration implementation class vP3Fb;  
        org.apache.struts2.config.Configuration接口名 <=cj)  
3>0/WbA:7E  
struts.configuration.files Xe*@`&nv@  
      A list of configuration files automatically loaded by Struts R?>a UFM  
      struts自动加载的一个配置文件列表 -t?S:9 [w  
g;\zD_":l  
struts.configuration.xml.reload e&7GW9FSg  
      Whether to reload the XML configuration or not ~VUNN[  
      是否加载xml配置(true,false) PFG):i-?  
Z,,Da|edH  
struts.continuations.package BYVp~!u  
      The package containing actions that use Rife continuations ZHICpL  
      含有actions的完整连续的package名称 +sE81B  
?9v!UT&#  
struts.custom.i18n.resources y*\ M7}](  
      Location of additional localization properties files to load X&^t 8  
      加载附加的国际化属性文件(不包含.properties后缀) \H<'W"  
)(\5Wk9(  
struts.custom.properties A,lcR:@w  
      Location of additional configuration properties files to load QXq~e  
      加载附加的配置文件的位置 gO4J[_  
X+P& up06  
E` XUK,b  
struts.devMode 3l`yy])t  
      Whether Struts is in development mode or not 0UWLs_k:  
      是否为struts开发模式 W}WGg|ug  
)+oDa{dZ  
struts.dispatcher.parametersWorkaround 1 < <`T%&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C?bPdJ,6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) cpFw]w%]  
kdQ=%  
struts.enable.DynamicMethodInvocation QCa$<~c  
      Allows one to disable dynamic method invocation from the URL 05DK-Wh?  
        允许动态方法调用 >B skw2  
'8i np[_  
struts.freemarker.manager.classname \0(QO8.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mV`Z]-$$i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 # u^FB  
}.o rfW  
struts.i18n.encoding zL3~,z/o  
      The encoding to use for localization messages %nF6n:|:  
      国际化信息内码 \[]36|$LS  
:8E(pq|1PB  
struts.i18n.reload 5U3="L  
      Whether the localization messages should automatically be reloaded 6g@j,iFy  
      是否国际化信息自动加载 :5U(}\dL{  
2p@Rr7  
struts.locale Qgo0uu M  
      The default locale for the Struts application lx U}HM  
      默认的国际化地区信息 }v0oFY$u`H  
c(ZkK  
struts.mapper.class ( y2%G=.j  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `"zX<  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 XdLB1H  
1U@qR U  
struts.multipart.maxSize +To{Tm-  
      The maximize size of a multipart request (file upload) Z\(+awv  
      multipart请求信息的最大尺寸(文件上传用) D gY2:&0  
lb{*,S  
struts.multipart.parser N: d`L+tcc  
      The org.apache.struts2.dispatcher.multipart. GLnj& Ve  
      MultiPartRequest parser implementation for a multipart request (file upload) )3'/g`c  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8$OE<c?#5n  
ztgSd8GGE  
yFl@ z  
struts.multipart.saveDir /]F3t]FlC  
      The directory to use for storing uploaded files 3UslVj1u  
      设置存储上传文件的目录夹 1f~unb\Gg  
o`M7:8G  
struts.objectFactory Xy_+L_h^  
      The com.opensymphony.xwork2.ObjectFactory implementation class Z7K ;~*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vs7Hg )F  
<3O>  
struts.objectFactory.spring.autoWire mJ#u]tiL  
      Whether Spring should autoWire or not 4 FGcCE3  
      是否自动绑定Spring %$`pD I)  
r<UZ\d -  
struts.objectFactory.spring.useClassCache >e=tem~/  
      Whether Spring should use its class cache or not 6Nj\N oS  
      是否spring应该使用自身的cache y''`73U"  
_+ oX9  
struts.objectTypeDeterminer nI|jUD +y  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class db@i*Bf  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h.sH:]Z  
o" &7$pAh  
struts.serve.static.browserCache XlV#)JX  
If static content served by the Struts filter should set browser caching header properties or not lDCoYX_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _j}|R(s*+V  
=>)l6**UE  
struts.serve.static \n6#D7OV  
      Whether the Struts filter should serve static content or not 9p+DA s{i  
      是否struts过滤器应该提供静态内容 BV9B}IV  
?\(E+6tpP  
struts.tag.altSyntax jXSo{  
      Whether to use the alterative syntax for the tags or not c,!Ijn\;(  
      是否可以用替代的语法替代tags ]A5FN4 E  
$*H_0wQc  
struts.ui.templateDir +]Po!bN@@  
      The directory containing UI templates ht!o_0{~  
      UI templates的目录夹 QyJ}zwD  
ucL}fnY1  
struts.ui.theme .,o=#  
      The default UI template theme Cc$!TZq=  
      默认的UI template主题 {tOu+zy  
R',Q)<  
struts.url.http.port r[q-O&2&  
      The HTTP port used by Struts URLs QPg QM6  
      设置http端口 rt_%_f>qd  
|XtN\9V.  
struts.url.https.port !X` 5  
      The HTTPS port used by Struts URLs c/^} =t(  
      设置https端口 #i%it  
Kxn/@@z>u  
struts.url.includeParams ;v^tUyhCb  
      The default includeParams method to generate Struts URLs i!*w'[G->Y  
      在url中产生 默认的includeParams q}*(rR9/Br  
[v^T]L  
CJz2.yd  
struts.velocity.configfile 5qt]~v%y  
      The Velocity configuration file path zFN:C()ig  
      velocity配置文件路径 Cf91#% :cN  
b" 1a7   
struts.velocity.contexts r.lH@}i%n  
      List of Velocity context names p3&/F=T;)  
      velocity的context列表 D\}^<HW  
*l)_&p  
?S~HnIn  
struts.velocity.manager.classname O6pswMhAc  
      org.apache.struts2.views.velocity.VelocityManager implementation class blpX_N  
      org.apache.struts2.views.velocity.VelocityManager接口名 S*Qip,u  
%\6|fKB4 <  
struts.velocity.toolboxlocation :rk=(=@8`  
      The location of the Velocity toolbox fIN F;TK  
      velocity工具盒的位置 3%bCv_6B  
struts.xslt.nocache f-F+Y`P  
      Whether or not XSLT templates should not be cached g j8rrd |  
      是否XSLT模版应该被缓存 YiJnh47  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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