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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 :\XD.n-n  
LNW p$"  
struts.action.extension _7VU ,  
      The URL extension to use to determine if the request is meant for a Struts action 2I5@zm ea  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 MDZb|1.AT  
MiI7s ;  
struts.configuration 7KLq-u-8  
      The org.apache.struts2.config.Configuration implementation class 5VS<I\o}  
        org.apache.struts2.config.Configuration接口名 R8]bi|e)  
IB<ihk  
struts.configuration.files g>{=R|uO5  
      A list of configuration files automatically loaded by Struts +-i@R%  
      struts自动加载的一个配置文件列表 s4\2lBU?  
-u(#V#}OV?  
struts.configuration.xml.reload HvU)GJ u b  
      Whether to reload the XML configuration or not yCVBG  
      是否加载xml配置(true,false) :nn'>  
<U";V)  
struts.continuations.package 16U@o>O  
      The package containing actions that use Rife continuations "@_f>3z  
      含有actions的完整连续的package名称 ?uLqB@!2  
0&|-wduR=  
struts.custom.i18n.resources sT ONkd  
      Location of additional localization properties files to load 3FfS+q*3S  
      加载附加的国际化属性文件(不包含.properties后缀) p_( NLJ%  
>jm9x1+C  
struts.custom.properties MH-,+-Eq  
      Location of additional configuration properties files to load ! `o =2b=N  
      加载附加的配置文件的位置 n%}0hVu  
>{[J+f{~|  
">7 bnOJ  
struts.devMode Z~ (QV0}  
      Whether Struts is in development mode or not ~EymD *  
      是否为struts开发模式 =6hf'lP  
+a{>jzR  
struts.dispatcher.parametersWorkaround U-d&q>_@A  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic aE}u5L$#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Tu"](|I>   
0&)4^->c  
struts.enable.DynamicMethodInvocation \_oHuw  
      Allows one to disable dynamic method invocation from the URL Zv_<*uzKZ  
        允许动态方法调用 x$t=6@<]  
8w4.|h5FP  
struts.freemarker.manager.classname G!uxpZ   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class wS*UXF&f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bk|>a=o3  
I[/u5V_b'  
struts.i18n.encoding B7 T+a  
      The encoding to use for localization messages W#$rC<Jh]  
      国际化信息内码 asb") NfIm  
"Y6 f.rB  
struts.i18n.reload V_:/#G]jeG  
      Whether the localization messages should automatically be reloaded &F)lvtt|  
      是否国际化信息自动加载 L=>N#QR7  
*Co+UJjT  
struts.locale -c. a7  
      The default locale for the Struts application b^1!_1c  
      默认的国际化地区信息 _?8T'?-1  
o{/D:B  
struts.mapper.class y_w4ei  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class l)zS}"F,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 on~rrSK  
A-kI_&g\Og  
struts.multipart.maxSize +Z+]Tqo  
      The maximize size of a multipart request (file upload) 2X:n75()  
      multipart请求信息的最大尺寸(文件上传用) pq4frq  
:(Gg]Z9^8  
struts.multipart.parser QAr1U7{(.  
      The org.apache.struts2.dispatcher.multipart. SExd-=G  
      MultiPartRequest parser implementation for a multipart request (file upload) F C"dQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y,{Xv  
K-/fq=z  
s;L7 _.hH@  
struts.multipart.saveDir @jfd.? RK!  
      The directory to use for storing uploaded files /Bc ;)~  
      设置存储上传文件的目录夹 K=;p^dE  
KQh'5o&  
struts.objectFactory )7f:hg  
      The com.opensymphony.xwork2.ObjectFactory implementation class Wh7$')@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) JA&w"2X*E  
%*,'&S  
struts.objectFactory.spring.autoWire eD(#zfP/+  
      Whether Spring should autoWire or not #R &F  
      是否自动绑定Spring %',. K)IR  
$?7}4u,  
struts.objectFactory.spring.useClassCache \ FA7 +Q  
      Whether Spring should use its class cache or not L(iWFy1& T  
      是否spring应该使用自身的cache hTF]-& hZ  
W n|w~{d{  
struts.objectTypeDeterminer v vFX\j3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h4]yIM `8d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 nlKWZYv  
N( Cfv3{  
struts.serve.static.browserCache (URWi caB  
If static content served by the Struts filter should set browser caching header properties or not ]cbY@U3!2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qT(j%F  
t6j|q nfw  
struts.serve.static ZJS7#<-7o  
      Whether the Struts filter should serve static content or not s i C/k*  
      是否struts过滤器应该提供静态内容 9R!.U\sq  
WVKzh  
struts.tag.altSyntax Pr" 2d\  
      Whether to use the alterative syntax for the tags or not B?k75G  
      是否可以用替代的语法替代tags \ ^_3Yw  
YS &3+Tp  
struts.ui.templateDir v~j21`  
      The directory containing UI templates |]V0sgpoZ  
      UI templates的目录夹 \S _ycn  
(@]{=q<  
struts.ui.theme ~G"5!,J  
      The default UI template theme Rc @p!Xi  
      默认的UI template主题 rZ<@MV|d  
rB-&'#3%  
struts.url.http.port ~ujY+ {  
      The HTTP port used by Struts URLs wPOQy ~:  
      设置http端口 %ZZ\Xj  
=MA$xz3  
struts.url.https.port P@)z Nik[  
      The HTTPS port used by Struts URLs lO[[iMHl<  
      设置https端口 >%t"VpvR  
R'He(x  
struts.url.includeParams GC.   
      The default includeParams method to generate Struts URLs 2!}5shB  
      在url中产生 默认的includeParams |GLa `2q|  
y<MXd,eE  
oQAD 3a  
struts.velocity.configfile c&ymVB?G:1  
      The Velocity configuration file path b8(94t|;U  
      velocity配置文件路径 sRqFsj}3e  
bNi\+=v<Ys  
struts.velocity.contexts ?FJU>+{">  
      List of Velocity context names K.B!-<  
      velocity的context列表 =5isT  
3x=T &X+  
!gu# #MrJ9  
struts.velocity.manager.classname }<m9w\pA  
      org.apache.struts2.views.velocity.VelocityManager implementation class !A qSG-  
      org.apache.struts2.views.velocity.VelocityManager接口名 R]H/Jv\'  
}9=VhC%J  
struts.velocity.toolboxlocation Bg {"{poy  
      The location of the Velocity toolbox -Z9e}$q$,  
      velocity工具盒的位置 JHBX'1GQa  
struts.xslt.nocache sSU p7V  
      Whether or not XSLT templates should not be cached 26?yEd6^Z  
      是否XSLT模版应该被缓存 pkQEry&Z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五