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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6B+?X5-6DH  
EVP{7}K1  
struts.action.extension ik1asj1  
      The URL extension to use to determine if the request is meant for a Struts action !6,rN_a@Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G|u)eW  
e8S4=W  
struts.configuration bjAI7B8As  
      The org.apache.struts2.config.Configuration implementation class n'[>h0  
        org.apache.struts2.config.Configuration接口名 oRZe?h^r#  
_=}.Sg5Q  
struts.configuration.files u;+8Jg+xH/  
      A list of configuration files automatically loaded by Struts ix$ ^1(  
      struts自动加载的一个配置文件列表 #%w+PL:*O  
\iaZV.#f  
struts.configuration.xml.reload <v/aquLN  
      Whether to reload the XML configuration or not Zu2`IzrG#  
      是否加载xml配置(true,false) MV2$0  
KDP"z  
struts.continuations.package R!yh0y}Z  
      The package containing actions that use Rife continuations Nu3gkIz5z-  
      含有actions的完整连续的package名称 P (DEf(  
v(GnG  
struts.custom.i18n.resources ||fw!8E  
      Location of additional localization properties files to load ^M%P43  
      加载附加的国际化属性文件(不包含.properties后缀) )B+R|PZ,  
crOSr/I$  
struts.custom.properties 'J3yJ{  
      Location of additional configuration properties files to load -agB ]j  
      加载附加的配置文件的位置 ''D7Bat@  
4f~sRubK  
}EYmz/nN  
struts.devMode ITg:OOQ  
      Whether Struts is in development mode or not ~(-1mB,  
      是否为struts开发模式 <Np Mv!g  
vH-|#x~  
struts.dispatcher.parametersWorkaround ah f,- ?S  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic jSM`bE+"  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *aC[Tv[-P  
!.^x^OK%y  
struts.enable.DynamicMethodInvocation 9C2pGfEbn}  
      Allows one to disable dynamic method invocation from the URL "U"fsAc#  
        允许动态方法调用 G6qZ>-GiL  
J%|;  
struts.freemarker.manager.classname G_5{5Ar  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kr|r-N`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Mpyza%zj  
yUD@oOVC0  
struts.i18n.encoding R+0gn/a[G  
      The encoding to use for localization messages fZr{x$]N0  
      国际化信息内码 3UW`Jyd`k  
:RukW.MR  
struts.i18n.reload pfIK9>i  
      Whether the localization messages should automatically be reloaded EtPB_! +  
      是否国际化信息自动加载 eY`9J4o'  
T^vo9~N*  
struts.locale ~PQR_?1  
      The default locale for the Struts application c^'bf_~-W  
      默认的国际化地区信息 9S17Lr*c  
==?%]ZE8  
struts.mapper.class 9<y{:{i  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $ p{Q]|ww  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 . RNQlh3  
} Pc6_#  
struts.multipart.maxSize &wZ:$lK#o  
      The maximize size of a multipart request (file upload) p,9eZUGy  
      multipart请求信息的最大尺寸(文件上传用) E8Wgm 8  
Ye_)~,{,p  
struts.multipart.parser X"{s"Mc0G  
      The org.apache.struts2.dispatcher.multipart. 2 }Q)&;u  
      MultiPartRequest parser implementation for a multipart request (file upload) scUWI"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =X2EF  
" U&   
U vOB`Vj  
struts.multipart.saveDir x_ \e&"x  
      The directory to use for storing uploaded files @cF aYI  
      设置存储上传文件的目录夹 N*My2t_+E  
IXf@YV  
struts.objectFactory KyAQzN9  
      The com.opensymphony.xwork2.ObjectFactory implementation class w_I}FPT<(:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Aj4i}pT  
&`63"^y  
struts.objectFactory.spring.autoWire {E`f(9r:  
      Whether Spring should autoWire or not A:ef}OCL  
      是否自动绑定Spring PZ;O pp  
MqI!i>  
struts.objectFactory.spring.useClassCache 7Q.?] k&  
      Whether Spring should use its class cache or not Y0U<l1(|  
      是否spring应该使用自身的cache ^YKEc0"w(  
}45&s9m=  
struts.objectTypeDeterminer ([ xYOxcp5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W%.Kr-[?`o  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^r$P&}Z\b  
mi3yiR  
struts.serve.static.browserCache ;^FV  
If static content served by the Struts filter should set browser caching header properties or not pUr.<yc&u  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TP oP%Yj"  
70m}+R(`  
struts.serve.static y_8 8I:O  
      Whether the Struts filter should serve static content or not -q\1Tlc]3  
      是否struts过滤器应该提供静态内容 BaTE59W  
3%xj-7z W  
struts.tag.altSyntax SVaC)O(  
      Whether to use the alterative syntax for the tags or not z&d&Ky  
      是否可以用替代的语法替代tags V4Ql6vg_f  
H5=-b@(  
struts.ui.templateDir (Y!@,rKd   
      The directory containing UI templates a3037~X  
      UI templates的目录夹 \?)<==^  
Pd\S{ Y~wk  
struts.ui.theme F\&R nDJ  
      The default UI template theme [*#ms=Zdc  
      默认的UI template主题 fXBA P10#  
z}N=Oe  
struts.url.http.port _y),C   
      The HTTP port used by Struts URLs  #IyxH$  
      设置http端口 K9gfS V>]  
#tdI;x3  
struts.url.https.port (~N &ov  
      The HTTPS port used by Struts URLs Yt7R[|  
      设置https端口 {v56k8uZ  
<`a!%_LC [  
struts.url.includeParams Bi)1*  
      The default includeParams method to generate Struts URLs Fmk, "qs  
      在url中产生 默认的includeParams hIC$4lR~  
X5527`?e  
*^Wx=#w$V  
struts.velocity.configfile 2RidI&?c<  
      The Velocity configuration file path  -}{c;pT  
      velocity配置文件路径 >ZuWsA0q  
/WB^h6qg  
struts.velocity.contexts 4l E j/#}  
      List of Velocity context names u-At k-2M  
      velocity的context列表 X61]N^y  
%X O97  
.T/\5_Bx  
struts.velocity.manager.classname F%t`dz!L  
      org.apache.struts2.views.velocity.VelocityManager implementation class _CBG?  
      org.apache.struts2.views.velocity.VelocityManager接口名 [L"(flY(E  
SI)u@3hl&w  
struts.velocity.toolboxlocation HkD6aJ:kA!  
      The location of the Velocity toolbox }i ./,  
      velocity工具盒的位置 NI \jGR.  
struts.xslt.nocache 6fQNF22E  
      Whether or not XSLT templates should not be cached @]t}bF]  
      是否XSLT模版应该被缓存 ;zIAh[z  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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