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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 8#w%qij  
n1x"B>3  
struts.action.extension 4y.qtiIP>$  
      The URL extension to use to determine if the request is meant for a Struts action n]6-`fpD  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。  \EXa 9X2  
pekNBq Wm  
struts.configuration I_ AFHrj  
      The org.apache.struts2.config.Configuration implementation class kA> e*6  
        org.apache.struts2.config.Configuration接口名 iuA_ Jr  
}kF?9w  
struts.configuration.files (I#mo2  
      A list of configuration files automatically loaded by Struts & WeN{  
      struts自动加载的一个配置文件列表 aU@1j;se@  
~uV(/?o%  
struts.configuration.xml.reload ^wD`sj<Qg  
      Whether to reload the XML configuration or not :5F(,Z_  
      是否加载xml配置(true,false) =ym<yI<  
8 C9ny}  
struts.continuations.package CvR-lKV<  
      The package containing actions that use Rife continuations +* j8[sz  
      含有actions的完整连续的package名称 s7sTY   
{VXucGI|  
struts.custom.i18n.resources 1rS8+!9C  
      Location of additional localization properties files to load %P{3c~?DH  
      加载附加的国际化属性文件(不包含.properties后缀) |?]doBm|  
&E1m{gB(  
struts.custom.properties wFMw&=j  
      Location of additional configuration properties files to load !iq|sXs  
      加载附加的配置文件的位置 5f MlOP_  
];jp)P2o  
CB X}_]9X  
struts.devMode eco&!R[G  
      Whether Struts is in development mode or not &r,)4q+  
      是否为struts开发模式 0m=57c$O  
i"=lxqWeaV  
struts.dispatcher.parametersWorkaround c-v-U O%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mYj)![  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ->X>h_k.Y  
CUHT5J*sY  
struts.enable.DynamicMethodInvocation Yg,;l-1  
      Allows one to disable dynamic method invocation from the URL ^}{x).  
        允许动态方法调用 nMZ)x-  
9e c},~(  
struts.freemarker.manager.classname fUGappb  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Dx`-h#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 U$<" . q  
u>G9r#~`k  
struts.i18n.encoding c/ih%xR  
      The encoding to use for localization messages ,p OGT71  
      国际化信息内码 15q^&l[Q  
C\aHr!  
struts.i18n.reload b$%Kv(  
      Whether the localization messages should automatically be reloaded n>R(e>  
      是否国际化信息自动加载 \gB ~0@[\7  
_ziSH 3(  
struts.locale IVkB)9IW  
      The default locale for the Struts application la)^`STh  
      默认的国际化地区信息 *coUHbP9>  
_ilitwRN3  
struts.mapper.class HZZZ [km  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =*jFaj  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 V=dOeuYd  
O,|NOz  
struts.multipart.maxSize \wk;Bo  
      The maximize size of a multipart request (file upload) y`j=(|DV  
      multipart请求信息的最大尺寸(文件上传用) 1:<(Q2X%  
1}c'UEr%)  
struts.multipart.parser U1X"UN)  
      The org.apache.struts2.dispatcher.multipart. &Cv  
      MultiPartRequest parser implementation for a multipart request (file upload) JO0o@M5H  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7U_ob"`JV  
X-_VuM_p  
-l57!s~V  
struts.multipart.saveDir r A(A$VR  
      The directory to use for storing uploaded files !5C"`@}q>  
      设置存储上传文件的目录夹 o2U5irU  
yDKH;o  
struts.objectFactory WV.hQX9P  
      The com.opensymphony.xwork2.ObjectFactory implementation class iiMS3ueF  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y|KQ`;  
Xi) ;dcNJ  
struts.objectFactory.spring.autoWire ?z#*eoPr  
      Whether Spring should autoWire or not hN6wp_  
      是否自动绑定Spring sdg2^]|  
H~nX! sO  
struts.objectFactory.spring.useClassCache 3&7? eO7*  
      Whether Spring should use its class cache or not wCg7JW#  
      是否spring应该使用自身的cache xxvt<J  
X"+p=PGZK  
struts.objectTypeDeterminer ,^8':X"A{!  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {+hABusq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (b//YyqN  
t-KicLr  
struts.serve.static.browserCache <3BGW?=WP  
If static content served by the Struts filter should set browser caching header properties or not O}Pqbx&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aYT!xdCI  
UTKyPCfj  
struts.serve.static UHvA43  
      Whether the Struts filter should serve static content or not GJcxqgk$  
      是否struts过滤器应该提供静态内容 =bC'>qw}  
oio{@#DX`  
struts.tag.altSyntax AaA!U!B  
      Whether to use the alterative syntax for the tags or not ub~ t}  
      是否可以用替代的语法替代tags er7(Wph  
HP]5"ziA  
struts.ui.templateDir Zw0KV%7hD  
      The directory containing UI templates XJeWhk3R9  
      UI templates的目录夹 ,H+Y1N4W(  
hxMRmH[f:  
struts.ui.theme >4luZnWMI  
      The default UI template theme /}~=)QHH  
      默认的UI template主题 ]-X6Cl  
A_S7z*T  
struts.url.http.port mbkt7. ,P  
      The HTTP port used by Struts URLs -V6caVlg  
      设置http端口 x6R M)rr  
mA$y$73=T  
struts.url.https.port u:|^L]{  
      The HTTPS port used by Struts URLs Fnak:R0  
      设置https端口 ^@*`vz^_  
2kVZlt'y  
struts.url.includeParams u~M$<|;  
      The default includeParams method to generate Struts URLs vO2WZ7E!  
      在url中产生 默认的includeParams /A,w{09G  
tcXXo&ZS  
p =nbsS~":  
struts.velocity.configfile (J5} 1Q<K  
      The Velocity configuration file path a`xAk ^w+  
      velocity配置文件路径 ?ld&}|W~  
RR[zvH} E  
struts.velocity.contexts ph5{i2U0  
      List of Velocity context names &^#iS<s1  
      velocity的context列表 * rlV E  
7BU7sQjs  
 "LB MYZ  
struts.velocity.manager.classname :5&D 6  
      org.apache.struts2.views.velocity.VelocityManager implementation class ?lD)J?j  
      org.apache.struts2.views.velocity.VelocityManager接口名 VrPsy) J68  
Z C01MDIY  
struts.velocity.toolboxlocation SZe55mK`  
      The location of the Velocity toolbox *h0D,O"0  
      velocity工具盒的位置 0ex.~S_Oj4  
struts.xslt.nocache ]P wS3:x  
      Whether or not XSLT templates should not be cached xgcJEox!  
      是否XSLT模版应该被缓存 .kU^)H" l  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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