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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 2[!#Xf  
ZeM~13[  
struts.action.extension 9 Rl-Jz8g  
      The URL extension to use to determine if the request is meant for a Struts action #gn{X!;-;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \OPJ*/U  
S:2M9nC  
struts.configuration k{\wjaf)  
      The org.apache.struts2.config.Configuration implementation class H4RqOI  
        org.apache.struts2.config.Configuration接口名 c=d` DJ  
mV!Ia-k  
struts.configuration.files _G3L+St  
      A list of configuration files automatically loaded by Struts m8M2ka  
      struts自动加载的一个配置文件列表 ^97u0K3$  
z`g4<  
struts.configuration.xml.reload j IO2uTM~  
      Whether to reload the XML configuration or not <[.{aj]QV  
      是否加载xml配置(true,false) B|9[DNd  
?e=3G4N  
struts.continuations.package gn82_  
      The package containing actions that use Rife continuations Ln-UN$2~F  
      含有actions的完整连续的package名称 ^.3(o{g  
`U4e]Qh/+  
struts.custom.i18n.resources {ovt 6C  
      Location of additional localization properties files to load F:$*0!  
      加载附加的国际化属性文件(不包含.properties后缀) 9 +1}8"~  
*2,tGZ  
struts.custom.properties X|&v]mJ  
      Location of additional configuration properties files to load 813t=A  
      加载附加的配置文件的位置 oS>VN<  
>o/+z18x  
ATRB9  
struts.devMode c"*xw8|  
      Whether Struts is in development mode or not (V(8E%<c  
      是否为struts开发模式 k'6x_ G  
shk yN  
struts.dispatcher.parametersWorkaround eP(|]Rk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =Ju%3ptH0  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _ASyGmO{  
=|+%^)E  
struts.enable.DynamicMethodInvocation _-=yD@;[D  
      Allows one to disable dynamic method invocation from the URL tl6x@%\  
        允许动态方法调用 `8 Ann~Z|k  
m'n<.1;1{j  
struts.freemarker.manager.classname BbIg]E/G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ~o8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pQ,|l$^m  
#fVk;]u`[3  
struts.i18n.encoding V=d~}PJ>  
      The encoding to use for localization messages byJR6f  
      国际化信息内码 .;J6)h  
'w"hG$".  
struts.i18n.reload FZBdQhYF  
      Whether the localization messages should automatically be reloaded [gaB}aLn  
      是否国际化信息自动加载 _uL8TC ^  
L3;cAb/  
struts.locale Mp`!zwR  
      The default locale for the Struts application Ud:;kI%Vj  
      默认的国际化地区信息 9,jFQb(),  
\=2<< iv  
struts.mapper.class jdf3XTw  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class AfT;IG%Gt  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fB= j51Lw  
frRO?  
struts.multipart.maxSize =#T3p9  
      The maximize size of a multipart request (file upload) d3;Sy`.  
      multipart请求信息的最大尺寸(文件上传用) qFE(H1hy  
/?%1;s:'  
struts.multipart.parser fq?MnWc  
      The org.apache.struts2.dispatcher.multipart. o`M.v[O  
      MultiPartRequest parser implementation for a multipart request (file upload) G'T: l("l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /0YO`])"  
X:JU#sI  
}X9G(`N(}  
struts.multipart.saveDir /5Tp)h|  
      The directory to use for storing uploaded files p~yGp] yJ9  
      设置存储上传文件的目录夹 PI&@/+  
GK&R,q5}  
struts.objectFactory 3S"kw  
      The com.opensymphony.xwork2.ObjectFactory implementation class !BDJU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Rm[{^V.Z$  
IFbN ]N0  
struts.objectFactory.spring.autoWire G2yQHTbl  
      Whether Spring should autoWire or not si1Szmx,  
      是否自动绑定Spring 5ajd$t  
ipD/dx.  
struts.objectFactory.spring.useClassCache 8SN4E  
      Whether Spring should use its class cache or not bL2b^UB~%  
      是否spring应该使用自身的cache JIXZI\Fk  
%\B@!4]  
struts.objectTypeDeterminer G O[u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class LAH.PcjPa  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M.K%;j`  
-r%k)4_  
struts.serve.static.browserCache | $D`*  
If static content served by the Struts filter should set browser caching header properties or not yk/BQ|G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _i2guhRs*Q  
|3C5"R3ZGO  
struts.serve.static rLE5fl5W  
      Whether the Struts filter should serve static content or not Yu: !l>  
      是否struts过滤器应该提供静态内容 <_#a%+5d  
H|z:j35\  
struts.tag.altSyntax xeW}`i5_w  
      Whether to use the alterative syntax for the tags or not "qhQJql  
      是否可以用替代的语法替代tags 1q/Q@O  
C!^[d  
struts.ui.templateDir {Z1^/F v3  
      The directory containing UI templates -5GRit1q?  
      UI templates的目录夹 C%Fc%}[  
%Wa. 2s  
struts.ui.theme sh;>6xB  
      The default UI template theme I2)#."=Ew  
      默认的UI template主题 ?dY|,_O  
gUrXaD#  
struts.url.http.port $kxP{0u  
      The HTTP port used by Struts URLs ^ ^k]2oG  
      设置http端口 tB<|7  
GI)eq:K_U8  
struts.url.https.port cc:,,T /i  
      The HTTPS port used by Struts URLs @WICAC=  
      设置https端口 MXrh[QCU)  
f~{4hVA  
struts.url.includeParams (}MN16!  
      The default includeParams method to generate Struts URLs 66|$X,  
      在url中产生 默认的includeParams M1J77LfS8  
Kq;s${ |G  
o|nN0z)b4  
struts.velocity.configfile /7uA f{  
      The Velocity configuration file path qORRpWyx&  
      velocity配置文件路径 r;8X6C  
0 ![  
struts.velocity.contexts hYSf;cG}A  
      List of Velocity context names d< b,].  
      velocity的context列表 R 3@luT]  
!+T29QYK8  
&z?:s  
struts.velocity.manager.classname PEPf=sm  
      org.apache.struts2.views.velocity.VelocityManager implementation class Og<nnq  
      org.apache.struts2.views.velocity.VelocityManager接口名 /eY}0q%  
c&I"&oZ@&  
struts.velocity.toolboxlocation Q8^g WBc  
      The location of the Velocity toolbox DgODTxiX  
      velocity工具盒的位置 Z^O_7I<5E  
struts.xslt.nocache t>JPK_b0  
      Whether or not XSLT templates should not be cached 69$gPY'3  
      是否XSLT模版应该被缓存 ?V' zG&n@  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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