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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cn4C K. ?  
buhn~ c  
struts.action.extension 6QOdd 6_d  
      The URL extension to use to determine if the request is meant for a Struts action 2 S\~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 n_n0Q}du  
 *YFe  
struts.configuration bTn7$EG  
      The org.apache.struts2.config.Configuration implementation class Pe !eID8  
        org.apache.struts2.config.Configuration接口名 <(Wa8PY2(  
g& *pk5V>  
struts.configuration.files qK4E:dD  
      A list of configuration files automatically loaded by Struts #(53YoV_8  
      struts自动加载的一个配置文件列表 d/GP.d  
*My?l75  
struts.configuration.xml.reload [Pdm1]":(  
      Whether to reload the XML configuration or not 1a)NM#  
      是否加载xml配置(true,false) 6?0 ^U 9  
w49Wl>M  
struts.continuations.package =De%]]>   
      The package containing actions that use Rife continuations D4m2*%M  
      含有actions的完整连续的package名称 Tv0|e'^  
PiZt?r?5w|  
struts.custom.i18n.resources 1WPDMLuN  
      Location of additional localization properties files to load <,l&),  
      加载附加的国际化属性文件(不包含.properties后缀) 8kih81tx"U  
DsqsMlB{  
struts.custom.properties L;xc,"\3  
      Location of additional configuration properties files to load J! >HT'M  
      加载附加的配置文件的位置 r+;C}[E  
:eI .E:/'  
x!q$`zF\\  
struts.devMode  `-4c}T  
      Whether Struts is in development mode or not $.(>Sj1  
      是否为struts开发模式 9c806>]U^  
v|jBRKU99  
struts.dispatcher.parametersWorkaround Wn24eld"x  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _"J-P={=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) T"t3e=xA  
xrO:Y!C?  
struts.enable.DynamicMethodInvocation W)V"QrFK  
      Allows one to disable dynamic method invocation from the URL qSMST mnQ  
        允许动态方法调用 p[&'*"o!/  
J']1^"_'  
struts.freemarker.manager.classname l{aXX[E&1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class IZ3w.:A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Gy 'l;2  
S'V0c%'QQV  
struts.i18n.encoding PR~ho&!  
      The encoding to use for localization messages 1d|+7  
      国际化信息内码 %|o4 U0c  
Z KnEg2a  
struts.i18n.reload A[;R_  
      Whether the localization messages should automatically be reloaded j; 1X-  
      是否国际化信息自动加载 <<v,9*h  
'(kGc%  
struts.locale qbHb24I  
      The default locale for the Struts application sju. `f>-r  
      默认的国际化地区信息 FbJlyWND  
J^ryUO o}b  
struts.mapper.class +QuaQ% lA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hI;tB6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qWtvo';3  
V;~W,o!  
struts.multipart.maxSize a~7`;Ar  
      The maximize size of a multipart request (file upload) }!(cm;XA"  
      multipart请求信息的最大尺寸(文件上传用) {Aj}s3v  
WWc{]R^D  
struts.multipart.parser lz faW-nu  
      The org.apache.struts2.dispatcher.multipart. %IW=[D6Tg  
      MultiPartRequest parser implementation for a multipart request (file upload) 1N1MD@C?P  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ; @-7'%(C  
:Y0*P  
nv*q N\i'  
struts.multipart.saveDir Obrv5 %'  
      The directory to use for storing uploaded files 5"c#O U  
      设置存储上传文件的目录夹 K]oFV   
%w=*4!NWb  
struts.objectFactory {b"V7vn,  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7*M+bZ`x  
      com.opensymphony.xwork2.ObjectFactory接口(spring) "D2 `=D!+  
votv rZ=  
struts.objectFactory.spring.autoWire O2us+DhQ  
      Whether Spring should autoWire or not ; ob>$ _  
      是否自动绑定Spring 1xar L))  
)Pakb!0H@t  
struts.objectFactory.spring.useClassCache #O/ihRoaO  
      Whether Spring should use its class cache or not t`o-HWfS.  
      是否spring应该使用自身的cache HO/Ij  
B4r4PSB>!  
struts.objectTypeDeterminer 81O`#DfZ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  T+9#P4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ?gY^,Ckj  
0hn N>?  
struts.serve.static.browserCache Jv %, v?  
If static content served by the Struts filter should set browser caching header properties or not 93$'PwWgiF  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TIbiw  
M^AwOR7<  
struts.serve.static Ya<S/9c  
      Whether the Struts filter should serve static content or not 9i*t3W71]  
      是否struts过滤器应该提供静态内容 WId"2W3M  
L%}k.)yev  
struts.tag.altSyntax <kN4@bd;  
      Whether to use the alterative syntax for the tags or not C}<j8a?  
      是否可以用替代的语法替代tags --4,6va`e  
] +<[D2f  
struts.ui.templateDir y4PR&^l?g  
      The directory containing UI templates W,9. z%  
      UI templates的目录夹 Q0K2md_%x  
S}f 3b N  
struts.ui.theme <^c?M[ j  
      The default UI template theme J]yUjnQ[h  
      默认的UI template主题 5R\{&  
u9ObFm$7  
struts.url.http.port VNBf2Va  
      The HTTP port used by Struts URLs FNL[6.!PV  
      设置http端口 zP$0B!9  
8[\F*H  
struts.url.https.port Mrysy)x  
      The HTTPS port used by Struts URLs gBp,p\ Xc  
      设置https端口 s!(O7Ub  
F7P?*!dx  
struts.url.includeParams ?~X*\  
      The default includeParams method to generate Struts URLs >-J%=P  
      在url中产生 默认的includeParams .sI*\@w.  
&YC Z L  
%Xc50n2Z  
struts.velocity.configfile -< D7  
      The Velocity configuration file path FcVQ_6  
      velocity配置文件路径 A#;6~f  
2[!#Xf  
struts.velocity.contexts U4)x"s[CP  
      List of Velocity context names $/*1 9 e~  
      velocity的context列表 }MQNzaXY^  
#gn{X!;-;  
9<0TF+}>  
struts.velocity.manager.classname 7X 4/6]*  
      org.apache.struts2.views.velocity.VelocityManager implementation class zntvKOIh  
      org.apache.struts2.views.velocity.VelocityManager接口名 RP[^1  
O?\UPNb:K  
struts.velocity.toolboxlocation RN:VsopL  
      The location of the Velocity toolbox {zzc/!|  
      velocity工具盒的位置 QA|87alh  
struts.xslt.nocache (bhMo^3/*  
      Whether or not XSLT templates should not be cached 5i71@?q;  
      是否XSLT模版应该被缓存 ~-2%^ovB  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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