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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `\qU.m0(j  
G%>[I6G  
struts.action.extension 56v<!L5%  
      The URL extension to use to determine if the request is meant for a Struts action HL)1{[|`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 EU\1EBT^  
*$s)p>  
struts.configuration eHjR/MMr_  
      The org.apache.struts2.config.Configuration implementation class [&39Yv.k,7  
        org.apache.struts2.config.Configuration接口名 `  ^6}Dn  
p]>bN  
struts.configuration.files d82IEhZ#  
      A list of configuration files automatically loaded by Struts nyDqR#t  
      struts自动加载的一个配置文件列表 INkrG.=u  
l/1uP  
struts.configuration.xml.reload v` B_xEl  
      Whether to reload the XML configuration or not <oeHZD_ OR  
      是否加载xml配置(true,false) T @z$g  
&d*9#?9  
struts.continuations.package k!%HcU%J  
      The package containing actions that use Rife continuations `S.;&%B\  
      含有actions的完整连续的package名称 qS7*.E~j|]  
OrH&dY  
struts.custom.i18n.resources B8P%4@T  
      Location of additional localization properties files to load ) wGC=,  
      加载附加的国际化属性文件(不包含.properties后缀) SC!IQ80H#D  
~svu0[Vx  
struts.custom.properties 7N""w5  
      Location of additional configuration properties files to load NeWssSje  
      加载附加的配置文件的位置 q=EQDHmh  
l"vT@ g|  
foN;Q1?lS  
struts.devMode ?+TD2~rD(  
      Whether Struts is in development mode or not u&g} !Smc8  
      是否为struts开发模式 Onk~1ks:  
~PV>3c3l=  
struts.dispatcher.parametersWorkaround !Q?4sAB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic hR?rZUl2M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) <fyv^e  
tG{Vn+~/  
struts.enable.DynamicMethodInvocation D@3|nS  
      Allows one to disable dynamic method invocation from the URL 1.>` h:  
        允许动态方法调用 P]y5E9 k  
Llzowlfe  
struts.freemarker.manager.classname P"~ B2__*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :b ;5O3:B  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 QKF2_Acc   
CBvBBt*  
struts.i18n.encoding fW\u*dMMZE  
      The encoding to use for localization messages 'DIE#l`  
      国际化信息内码 85X^T]zo  
}x8fXdd  
struts.i18n.reload PzF)Vg  
      Whether the localization messages should automatically be reloaded [Z[)hUXE?  
      是否国际化信息自动加载 nU`;MW/^w  
>U}~Hv]  
struts.locale w68qyG|wM  
      The default locale for the Struts application Tq?W @DM*  
      默认的国际化地区信息 q`\lvdl  
wUSWB{y  
struts.mapper.class } M1<a4~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q!7\`>.2:{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?/u&U\P  
(+ >n/I6  
struts.multipart.maxSize 3b_#xr-  
      The maximize size of a multipart request (file upload) ]>:>":<:  
      multipart请求信息的最大尺寸(文件上传用) $)uQ%/DH>  
jrW7AT)\  
struts.multipart.parser jALo;PDJ  
      The org.apache.struts2.dispatcher.multipart. `q/y|/v<  
      MultiPartRequest parser implementation for a multipart request (file upload) im?nR+t+X  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) g)"6|Z?D"  
oW8[2$_N+  
D2hvf ^g'*  
struts.multipart.saveDir -~xd-9v?  
      The directory to use for storing uploaded files R0+m7mx#E  
      设置存储上传文件的目录夹 !7w-?1?D  
P_Z o}.{  
struts.objectFactory h(zi$V  
      The com.opensymphony.xwork2.ObjectFactory implementation class 1"e=Zqn$)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~7=,)Q  
x0 #+yP  
struts.objectFactory.spring.autoWire o]FQ)WRB  
      Whether Spring should autoWire or not 'z\F-Ttq  
      是否自动绑定Spring j^k{~]+_^]  
LQS*/s0  
struts.objectFactory.spring.useClassCache mEqV&M1;7l  
      Whether Spring should use its class cache or not dxd}:L~z  
      是否spring应该使用自身的cache 0|U<T#t8?  
Oe=,-\&_  
struts.objectTypeDeterminer A/.cNen  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fY `A  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6v1j*'  
U]P;X~$!  
struts.serve.static.browserCache vD*KJ3(c  
If static content served by the Struts filter should set browser caching header properties or not oNdO@i%.q4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H4pjtVBr  
9#agI|d~  
struts.serve.static ~7k b4[  
      Whether the Struts filter should serve static content or not 1|%$ie  
      是否struts过滤器应该提供静态内容 7,jqA"9  
b_LzG_n!   
struts.tag.altSyntax d`xqs,0f  
      Whether to use the alterative syntax for the tags or not N Lo>"<Xb  
      是否可以用替代的语法替代tags Z,2uN!6  
(thzW r6;  
struts.ui.templateDir  Wi|.Z/  
      The directory containing UI templates b!N`@m=  
      UI templates的目录夹 A76=^ iw  
R:fu n ,  
struts.ui.theme O=mJ8W@  
      The default UI template theme i44`$ps  
      默认的UI template主题 bv] ZUF0  
c[YC}@l%a  
struts.url.http.port X ak~He  
      The HTTP port used by Struts URLs c]O4l2nCL  
      设置http端口 Rbl(oj#  
< /}[x2w?]  
struts.url.https.port J|>P,x#G  
      The HTTPS port used by Struts URLs iGp@P=;m  
      设置https端口 abK/!m[q  
B^OhL!*tI  
struts.url.includeParams fGxa~Unx  
      The default includeParams method to generate Struts URLs t]m#k%)  
      在url中产生 默认的includeParams \0:l9;^4  
=]"PSY7p  
|?0C9  
struts.velocity.configfile ;m\(fW*ii  
      The Velocity configuration file path <;Xj4 J  
      velocity配置文件路径 p&q&Fr-   
)PwDP  
struts.velocity.contexts BvYJ!Vj  
      List of Velocity context names >sP;B5S  
      velocity的context列表 3}vlj:L  
DS^Q0 f  
c2y5[L7?  
struts.velocity.manager.classname 4v{gc/g  
      org.apache.struts2.views.velocity.VelocityManager implementation class c1Hv^*Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 )9*-Q%zc  
aR3W9  
struts.velocity.toolboxlocation ._nhW*  
      The location of the Velocity toolbox ei"FN3Rm  
      velocity工具盒的位置 R"tLu/Sn  
struts.xslt.nocache F!Uk`[L  
      Whether or not XSLT templates should not be cached 4iw+3 Q|  
      是否XSLT模版应该被缓存 +[>m`XTq  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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