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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 d_-{-@  
4Fgy<^94`  
struts.action.extension mrS:|| ,_  
      The URL extension to use to determine if the request is meant for a Struts action 6~ev5SD;f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Xv|~1v%s7  
X0* y8"  
struts.configuration 9@nX 6\ ,  
      The org.apache.struts2.config.Configuration implementation class _6;T /_R=  
        org.apache.struts2.config.Configuration接口名 j$4Tot  
@=E@ *@g  
struts.configuration.files /NNe/7'l  
      A list of configuration files automatically loaded by Struts hS OAjS  
      struts自动加载的一个配置文件列表 #O7|&DqF{  
&|LZ%W0Fb  
struts.configuration.xml.reload iL\<G} I  
      Whether to reload the XML configuration or not &$ia#j{l  
      是否加载xml配置(true,false) aF;Q SI  
jt@k< #h~  
struts.continuations.package P`v%< 9~  
      The package containing actions that use Rife continuations L!|c: 8  
      含有actions的完整连续的package名称 XwOj`N{!H  
]/XNfb  
struts.custom.i18n.resources ^ D/:[  
      Location of additional localization properties files to load rgWGe6;!  
      加载附加的国际化属性文件(不包含.properties后缀) CD:@OI  
J0~Ha u  
struts.custom.properties Qb!9QlW  
      Location of additional configuration properties files to load ^PMP2\JQA  
      加载附加的配置文件的位置 s_y Y,Z:  
' ^^]Or  
\(R(S!xr_  
struts.devMode DI'wZySS^  
      Whether Struts is in development mode or not NmthvKhH   
      是否为struts开发模式 N J9H=  
hub1rY|No  
struts.dispatcher.parametersWorkaround Mf^ ;('~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 40<ifz[7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) /0>Cy\eN0  
MoIVval/  
struts.enable.DynamicMethodInvocation P ^R224R  
      Allows one to disable dynamic method invocation from the URL oC#@9>+@+"  
        允许动态方法调用 9s5gi+l_O  
m2AA:u_*j  
struts.freemarker.manager.classname 8p  }E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (y7U}Sb'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 B9`nV.a  
Ev|2bk \  
struts.i18n.encoding mWZoo/xtT  
      The encoding to use for localization messages Fyrr,#  
      国际化信息内码 +e. bO5Y  
_fz-fG 1  
struts.i18n.reload D:sQHJ. y  
      Whether the localization messages should automatically be reloaded v4kk4}lE  
      是否国际化信息自动加载 o /AEp)8  
qiV#T +\  
struts.locale 7Q7z6p/\v  
      The default locale for the Struts application uli,@5%\  
      默认的国际化地区信息 |XzqP +t  
u~=>$oT't  
struts.mapper.class ,~`R{,N`  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qd6XKl\5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 '9>z4G*Td  
xV @X%E  
struts.multipart.maxSize a$.(Zl  
      The maximize size of a multipart request (file upload) f' Dl*d  
      multipart请求信息的最大尺寸(文件上传用) `%EMhk  
BX;Z t9"*  
struts.multipart.parser .-T^ S"`d|  
      The org.apache.struts2.dispatcher.multipart. !run3ip`Z  
      MultiPartRequest parser implementation for a multipart request (file upload) 0&E{[~Pv  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J b Hn/$  
\b?z\bC56  
"yxIaTZu  
struts.multipart.saveDir R@-rc|FunJ  
      The directory to use for storing uploaded files m{gx\a.5  
      设置存储上传文件的目录夹 _[zO?Div[  
@{\q1J>  
struts.objectFactory -&oJ@Aa  
      The com.opensymphony.xwork2.ObjectFactory implementation class YIGQDj@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Rb\M63q  
Q9=X|  
struts.objectFactory.spring.autoWire }A;J-7g6  
      Whether Spring should autoWire or not |f;u5r!^=  
      是否自动绑定Spring Xs$k6C3  
]f=108|8  
struts.objectFactory.spring.useClassCache P#-Ye<V~J(  
      Whether Spring should use its class cache or not d#cw`h<c~  
      是否spring应该使用自身的cache a^t#kdT  
2uu"0Rm%  
struts.objectTypeDeterminer %:yJ/&-Q,Z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class NitWIj[U;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :KGUO{_u  
T|`nw_0  
struts.serve.static.browserCache uA dgR  
If static content served by the Struts filter should set browser caching header properties or not 7'\<\oT  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 422d4Zu  
~ \z7$9Q  
struts.serve.static }"BXqh"\`  
      Whether the Struts filter should serve static content or not '+LC.lM  
      是否struts过滤器应该提供静态内容 tYK 5?d  
ZG+8kt!w  
struts.tag.altSyntax }t#uSz^  
      Whether to use the alterative syntax for the tags or not FWcE\;%yVg  
      是否可以用替代的语法替代tags {{w5F2b((%  
gBGUGjVj  
struts.ui.templateDir %/NB263Db  
      The directory containing UI templates PMC5qQ%x  
      UI templates的目录夹 ya8MjGo  
Ugzq;}V#  
struts.ui.theme -\xNuU  
      The default UI template theme PRcW}"m]Qg  
      默认的UI template主题 %H Pwu &  
~fbFA?g3  
struts.url.http.port ^u`1W^>  
      The HTTP port used by Struts URLs *f{\ze@5=  
      设置http端口 4/e|N#1`;[  
qT}<D`\  
struts.url.https.port #lXwBfBMf  
      The HTTPS port used by Struts URLs :23w[vt=  
      设置https端口 ".Z|zt6C  
xwoK#eC~ F  
struts.url.includeParams ( `T;nz  
      The default includeParams method to generate Struts URLs #m [R1G#  
      在url中产生 默认的includeParams @."_XL74  
PoTJ4z  
6wK>SW)#&j  
struts.velocity.configfile mDZ/Kp{  
      The Velocity configuration file path L,6v!9@  
      velocity配置文件路径 eK[8$1  
30 e>C  
struts.velocity.contexts b8Gu<Q1k  
      List of Velocity context names r&6X|2@  
      velocity的context列表 C.`C T7  
\2F{r<A\@  
NbnahhS  
struts.velocity.manager.classname LCKCg[D  
      org.apache.struts2.views.velocity.VelocityManager implementation class  1$nlRQi  
      org.apache.struts2.views.velocity.VelocityManager接口名 4+Aht]$hC  
}EM  vEA  
struts.velocity.toolboxlocation ~5S[Sl  
      The location of the Velocity toolbox 03Czx`  
      velocity工具盒的位置 3fA.DK[4[  
struts.xslt.nocache `F-<P%k  
      Whether or not XSLT templates should not be cached eW%Cef  
      是否XSLT模版应该被缓存 cCOw7<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五