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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 U<1}I.hDJ  
ks)fQFSbu  
struts.action.extension p<<6}3~  
      The URL extension to use to determine if the request is meant for a Struts action R>^5$[  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1{= E ?  
x|&[hFXD  
struts.configuration $z~jnc  
      The org.apache.struts2.config.Configuration implementation class L; @a E[#z  
        org.apache.struts2.config.Configuration接口名 Qf/j:  
-Mit$mFn  
struts.configuration.files =]8f"wAh*  
      A list of configuration files automatically loaded by Struts fp`U?S6  
      struts自动加载的一个配置文件列表 n5/ZJur  
*'kC8 ZR5  
struts.configuration.xml.reload /W7&U =d9  
      Whether to reload the XML configuration or not aY3pvOV  
      是否加载xml配置(true,false) s{b0#[  
>1_Dk7E0D  
struts.continuations.package ?*B;514  
      The package containing actions that use Rife continuations t sC z+MP  
      含有actions的完整连续的package名称  ^xBb$  
F Bd+=bx,Z  
struts.custom.i18n.resources FjK Ke7  
      Location of additional localization properties files to load =MQ2sb  
      加载附加的国际化属性文件(不包含.properties后缀) kfH9Y%bOy  
!NlB%cF  
struts.custom.properties ]W89.><%14  
      Location of additional configuration properties files to load n=lggBRx  
      加载附加的配置文件的位置 8^&fZL',  
! hOOpZ f7  
KFCQYdI`d  
struts.devMode wWp?HDl"M  
      Whether Struts is in development mode or not RlG'|xaT  
      是否为struts开发模式 |:`?A3^m#  
bcGn8  
struts.dispatcher.parametersWorkaround Y/QK+UMW*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y- z~#;  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .H*? '*  
4nX'a*'D~}  
struts.enable.DynamicMethodInvocation A- <.#  
      Allows one to disable dynamic method invocation from the URL WV9[DFU  
        允许动态方法调用 t!+%g) @  
7$E2/@f  
struts.freemarker.manager.classname %3#b6m~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CNpCe-%&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 A5(kOtgiT  
SLbavP#G  
struts.i18n.encoding  |V*e2w  
      The encoding to use for localization messages )wyu+_:  
      国际化信息内码 N^@%qUvT]  
ur,V>J<5A  
struts.i18n.reload gK]T}  
      Whether the localization messages should automatically be reloaded 'Q^G6'(SaK  
      是否国际化信息自动加载 \oD=X}UQw(  
x3:ZB  
struts.locale #,Fx@3y\a  
      The default locale for the Struts application _.s\qQ  
      默认的国际化地区信息 72B zvY.  
;NvhL|R  
struts.mapper.class C/grrw  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \, X?K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 P17]}F``  
$n_sGr  
struts.multipart.maxSize Rqv+N]  
      The maximize size of a multipart request (file upload) T`0`]z!~  
      multipart请求信息的最大尺寸(文件上传用) 8. ~Euz  
g/J^K*3]  
struts.multipart.parser d- _93  
      The org.apache.struts2.dispatcher.multipart. 8k*k  
      MultiPartRequest parser implementation for a multipart request (file upload) ]c~rPi  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n^I|}u\  
'h+4zvI"8  
sIQMUC[!  
struts.multipart.saveDir 0Zp<=\!;  
      The directory to use for storing uploaded files 123-i,epg  
      设置存储上传文件的目录夹 P dE)m/  
dzk?Zg  
struts.objectFactory >u%[J!Y;;  
      The com.opensymphony.xwork2.ObjectFactory implementation class 07E".T%Ts  
      com.opensymphony.xwork2.ObjectFactory接口(spring) UVvt&=+4  
_s=Pk[e  
struts.objectFactory.spring.autoWire ZS 7)(j$.  
      Whether Spring should autoWire or not YpbdScz  
      是否自动绑定Spring ,m_&eF  
&Funao>  
struts.objectFactory.spring.useClassCache ,YzC)(-  
      Whether Spring should use its class cache or not :5qqu{GL  
      是否spring应该使用自身的cache e>s.mH6A  
^AC+nko*  
struts.objectTypeDeterminer NJz*N%VWD  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class WA)lk>(+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PhaQ3%  
LVz%$Cq,0  
struts.serve.static.browserCache }9fV[zO  
If static content served by the Struts filter should set browser caching header properties or not  4pOc`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 M KE[Yb?  
<=LsloI  
struts.serve.static 8~XI7g'5x  
      Whether the Struts filter should serve static content or not {pi67"mYp  
      是否struts过滤器应该提供静态内容 B3i=pcef  
q'U-{~q%  
struts.tag.altSyntax H#d! `  
      Whether to use the alterative syntax for the tags or not w2mlqy2L  
      是否可以用替代的语法替代tags 1QdB`8in  
.bl/At3A  
struts.ui.templateDir ,_7tRkn  
      The directory containing UI templates r+WPQ`Ar  
      UI templates的目录夹 #)c;i<Q3S  
trNK9@wT)  
struts.ui.theme :/?R9JVI  
      The default UI template theme IBsO  
      默认的UI template主题 j$/uJ`  
X/C54%T ~  
struts.url.http.port 1pBsr(  
      The HTTP port used by Struts URLs 3  %{'Uh,  
      设置http端口 %nK 15(  
S7~l%G>]b  
struts.url.https.port nD{;4$xP`  
      The HTTPS port used by Struts URLs )a2m<"  
      设置https端口 GA*Khqdid  
& ;x1Rx  
struts.url.includeParams &|,qsDK(  
      The default includeParams method to generate Struts URLs OEqe^``!  
      在url中产生 默认的includeParams T;vPR,]rz  
QSQ\@h;E  
k>@^M]%  
struts.velocity.configfile 97=YFK~*  
      The Velocity configuration file path ' c\TMb.  
      velocity配置文件路径 b|C,b"$N0  
XdXS^QA .s  
struts.velocity.contexts ^i,0n}>  
      List of Velocity context names F[qI fh4  
      velocity的context列表 YuZ   
C{Xk/Er5<  
*d*;M>  
struts.velocity.manager.classname |"(3]f\  
      org.apache.struts2.views.velocity.VelocityManager implementation class 'm.XmVZL%  
      org.apache.struts2.views.velocity.VelocityManager接口名 t7`Pw33#kY  
a!]QD`  
struts.velocity.toolboxlocation '/)_{Ly  
      The location of the Velocity toolbox +,w|&y  
      velocity工具盒的位置 Hr.JZ>~<  
struts.xslt.nocache e Eb1R}@  
      Whether or not XSLT templates should not be cached F1]PYx$X  
      是否XSLT模版应该被缓存 ${H&Q*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八