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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sWc_,[b  
E0o?rgfdq  
struts.action.extension R&`; C<6}D  
      The URL extension to use to determine if the request is meant for a Struts action 7eyVm;LQD  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _'"whZ)2  
zj9)vr`7  
struts.configuration /\0 rRT  
      The org.apache.struts2.config.Configuration implementation class ,fa'  
        org.apache.struts2.config.Configuration接口名 2[8C?7_K0?  
}KZt7)  
struts.configuration.files |)vC^=N{+  
      A list of configuration files automatically loaded by Struts ^[]@dk9  
      struts自动加载的一个配置文件列表 ~dFdO7  
d@?++z  
struts.configuration.xml.reload #OT8_D  
      Whether to reload the XML configuration or not {r,MRZaa  
      是否加载xml配置(true,false) !lk -MN.  
:4V8Iz 71  
struts.continuations.package %Ct^{k~1  
      The package containing actions that use Rife continuations nGqD{!i<  
      含有actions的完整连续的package名称 Z&VH7gi  
x]=s/+Y  
struts.custom.i18n.resources 7ZsBYP8%  
      Location of additional localization properties files to load RrG5`2  
      加载附加的国际化属性文件(不包含.properties后缀) 7i$)iNW  
sOY+ X  
struts.custom.properties $yA>j (k4  
      Location of additional configuration properties files to load x&kM /z?/  
      加载附加的配置文件的位置 ~5Cid)Q}@o  
&Is}<Ew  
&*4C{N  
struts.devMode VoTnm   
      Whether Struts is in development mode or not bz1+AJG  
      是否为struts开发模式 kU {>hG4  
1YrIcovi-  
struts.dispatcher.parametersWorkaround Z Vin+z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $xK2M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'fGB#uBt  
$gv3Up"U  
struts.enable.DynamicMethodInvocation jrl'?`O  
      Allows one to disable dynamic method invocation from the URL y| 7sh  
        允许动态方法调用 qZS]eQW.  
@3Lh/&  
struts.freemarker.manager.classname Yi5^# G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Gz,?e]ZV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @> ]O6P2  
;;zQVD )X  
struts.i18n.encoding nbMxQOD k  
      The encoding to use for localization messages ; m]KKB  
      国际化信息内码 , Y\`n7Ww  
m 3 Y@p$i5  
struts.i18n.reload fQkfU;5  
      Whether the localization messages should automatically be reloaded t6+c"=P#  
      是否国际化信息自动加载 ]"2;x  
!pqfx93R*  
struts.locale XDtMFig  
      The default locale for the Struts application 1[g -f ,  
      默认的国际化地区信息 uSl&d  
u3B[1Ae:K  
struts.mapper.class 6Kbc:wlR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class E<~Fi .M;\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 o^!_S5zKe.  
djk?;^8  
struts.multipart.maxSize Jx jP'8  
      The maximize size of a multipart request (file upload) T{"[Ih3Mbl  
      multipart请求信息的最大尺寸(文件上传用) KqD]GS#(  
(T9Q6 \sa  
struts.multipart.parser hT0[O  
      The org.apache.struts2.dispatcher.multipart. \{8?HjJEM  
      MultiPartRequest parser implementation for a multipart request (file upload) ]+ KN9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L*QX21@wC  
EDA%qNd]j  
S#{jyU9 ]  
struts.multipart.saveDir <0w"$.K#3  
      The directory to use for storing uploaded files cR *5iqA  
      设置存储上传文件的目录夹 @BfJb[A#  
:< d.  
struts.objectFactory I0qS x{K  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0'QX*xfa>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) J2BCaAwEP,  
XsXO S8  
struts.objectFactory.spring.autoWire i0TbsoKh:  
      Whether Spring should autoWire or not (\8~W*ej"  
      是否自动绑定Spring RXD*;B$v  
~\oF}7l$  
struts.objectFactory.spring.useClassCache p|gzU$FWbk  
      Whether Spring should use its class cache or not :Rftn6!  
      是否spring应该使用自身的cache J\@W+/#dF  
!2o1c  
struts.objectTypeDeterminer [qL{w&R  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class i!a. 6Gq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 )/y7Fh  
Mjon++>Z  
struts.serve.static.browserCache w wuM!Z+  
If static content served by the Struts filter should set browser caching header properties or not k Xg&}n7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Lhz*o6)  
Sk6B>O<:  
struts.serve.static zJ $&`=  
      Whether the Struts filter should serve static content or not '-l.2IUyT  
      是否struts过滤器应该提供静态内容 9zL(PkC%\  
E xls_oSp  
struts.tag.altSyntax }mYxI^n  
      Whether to use the alterative syntax for the tags or not 3T= ?!|e  
      是否可以用替代的语法替代tags ;(3!#4`q(]  
)z^NJ'v4(  
struts.ui.templateDir K7-z.WTUR  
      The directory containing UI templates 8)o%0#;0B  
      UI templates的目录夹 hE;|VSdo  
0Xw$l3@N^  
struts.ui.theme T2ZB(B D  
      The default UI template theme Dx5X6t9=  
      默认的UI template主题 EEn8]qJC  
@"G+kLv0  
struts.url.http.port dHsI<:T#  
      The HTTP port used by Struts URLs ;xl0J*r  
      设置http端口 chE}TK  
VrIR!9%:  
struts.url.https.port r6Qsh CA"  
      The HTTPS port used by Struts URLs N;q)r  
      设置https端口 B{lj.S` mB  
Bc*FH>E  
struts.url.includeParams c<a)Yqf"]  
      The default includeParams method to generate Struts URLs *yZ `aKfH  
      在url中产生 默认的includeParams {zTnE?(o`  
YZ k.{#^c  
XkhGU?={  
struts.velocity.configfile 67g"8R#.V  
      The Velocity configuration file path FX1H2N(  
      velocity配置文件路径 a_3w/9L4r  
(uVL!%61k  
struts.velocity.contexts W8_$]}G8E  
      List of Velocity context names sx n{uRF  
      velocity的context列表 !kS/Ei  
k.ttrKy<q/  
Q@ Ze+IhK`  
struts.velocity.manager.classname X5tx(}j  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,(A $WT@e  
      org.apache.struts2.views.velocity.VelocityManager接口名 YvG=P<_xw  
TYKs2+S6  
struts.velocity.toolboxlocation B2,c_[UZ.  
      The location of the Velocity toolbox q|g>;_  
      velocity工具盒的位置 8CUlE-R5  
struts.xslt.nocache 3oOr*N3R  
      Whether or not XSLT templates should not be cached 6E#znRi6IE  
      是否XSLT模版应该被缓存 dSI<s^n  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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