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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Jj*XnL*  
;XSV}eLu  
struts.action.extension A &~G  
      The URL extension to use to determine if the request is meant for a Struts action AVGb;)x#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (ST />")L  
M,8a$Mdqh  
struts.configuration &`0y<0z  
      The org.apache.struts2.config.Configuration implementation class SWY?0Pu  
        org.apache.struts2.config.Configuration接口名 z^gf@r  
L:IaJ?+?  
struts.configuration.files $L)9'X   
      A list of configuration files automatically loaded by Struts ~#h@.yW^JN  
      struts自动加载的一个配置文件列表 BR8z%R  
U2$e?1y  
struts.configuration.xml.reload `S2YBKz,1  
      Whether to reload the XML configuration or not k+ 5:fB)z  
      是否加载xml配置(true,false) J )oa:Q  
i d\0yRBt  
struts.continuations.package iS&fp[Th  
      The package containing actions that use Rife continuations IfF<8~~E  
      含有actions的完整连续的package名称 \vT0\1:|i  
l"*qj#FD  
struts.custom.i18n.resources MIub^ $<C  
      Location of additional localization properties files to load z `T<g!Y  
      加载附加的国际化属性文件(不包含.properties后缀) o )GNV  
Jt43+]  
struts.custom.properties AmM^&  
      Location of additional configuration properties files to load QzT)PtX  
      加载附加的配置文件的位置 Dp8YzWL2^  
K I  
:aV(i.LW  
struts.devMode _*0!6?c  
      Whether Struts is in development mode or not 6k%N\!_TUW  
      是否为struts开发模式 sOa`Tk  
Wy.2*+5FX0  
struts.dispatcher.parametersWorkaround 1`Cr1pH  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Us+|L|/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  Xt(w+  
KV k 36;$  
struts.enable.DynamicMethodInvocation /0s1q  
      Allows one to disable dynamic method invocation from the URL pFX Do4eH  
        允许动态方法调用 n,hHh=.Fu  
wA|m/SZx  
struts.freemarker.manager.classname 7G.IGXK$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ,)hUL/r6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3o9`Ko0  
(Gf1#,/3~  
struts.i18n.encoding  &~:b &  
      The encoding to use for localization messages fKY6stJE  
      国际化信息内码 UpL?6)  
tu#VZAPW@  
struts.i18n.reload UBs'3M  
      Whether the localization messages should automatically be reloaded &, hhH_W  
      是否国际化信息自动加载 Q9tBHz  
a)^f`s^aa  
struts.locale ;g?oU "YM  
      The default locale for the Struts application v3x_8n$C9  
      默认的国际化地区信息 >KH.~Jfy  
&%+}bt5  
struts.mapper.class @Iia>G @Rz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class oFB~)}f<v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 kzny4v[y  
 Iz*'  
struts.multipart.maxSize 6T! *YrS  
      The maximize size of a multipart request (file upload) [wWip1OR  
      multipart请求信息的最大尺寸(文件上传用) *kY\,r&!P  
/5 B{szf  
struts.multipart.parser 5+].$  
      The org.apache.struts2.dispatcher.multipart. 7(rNJPrU~=  
      MultiPartRequest parser implementation for a multipart request (file upload) &oI;^|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) AdBB#zd  
BwMi@r =  
n6 D9f~8"  
struts.multipart.saveDir 95LZG1]Rb  
      The directory to use for storing uploaded files .|W0B+Z8  
      设置存储上传文件的目录夹 ~R^~?Y%+<  
u`?MV2jU2  
struts.objectFactory 8 g0By;h;  
      The com.opensymphony.xwork2.ObjectFactory implementation class YHBH9E/B  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Ey<vvZ  
j#L"fW^GM  
struts.objectFactory.spring.autoWire KG9h rT  
      Whether Spring should autoWire or not  h0}r#L  
      是否自动绑定Spring ;[@);-9q  
mU0j K@^&M  
struts.objectFactory.spring.useClassCache Ilt!O^  
      Whether Spring should use its class cache or not 7Nx5n<  
      是否spring应该使用自身的cache 4@ EY+p  
E57:ap)/  
struts.objectTypeDeterminer D>Ij  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tg =ClZ-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 'YQ^K`lV  
,@I_b  
struts.serve.static.browserCache @ 3n;>oi  
If static content served by the Struts filter should set browser caching header properties or not  uP|Py.+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ' cM2]<  
R>Q&Ax  
struts.serve.static  B=)&43)\  
      Whether the Struts filter should serve static content or not MzUNk`T @  
      是否struts过滤器应该提供静态内容 EJC{!06L'/  
lO^Ly27  
struts.tag.altSyntax #?=?<"*j  
      Whether to use the alterative syntax for the tags or not t~_j+k0K#  
      是否可以用替代的语法替代tags U~9Y9qzy,  
Pn?Ujjv  
struts.ui.templateDir K>%}m,  
      The directory containing UI templates ]x)^/ d  
      UI templates的目录夹 bEO\oS  
p@B/S(Xi  
struts.ui.theme 3PRg/vD3  
      The default UI template theme GM]" $  
      默认的UI template主题 rq#8}T>  
bUv}({  
struts.url.http.port :mP%qG9U  
      The HTTP port used by Struts URLs Q=B>Q  
      设置http端口 RbOEXH*]  
B=<>OYH  
struts.url.https.port F+ ,eJ/]  
      The HTTPS port used by Struts URLs d7, ZpHt  
      设置https端口 18`YY\u(  
~rnbuIh  
struts.url.includeParams kSL7WQe?j  
      The default includeParams method to generate Struts URLs  Tt;h?  
      在url中产生 默认的includeParams R7'6#2y  
rE->z  
] o!r K<  
struts.velocity.configfile &# [w*t(A  
      The Velocity configuration file path m-xnbTcQ  
      velocity配置文件路径 /#<R  
seQSDCsvw*  
struts.velocity.contexts U-~6<\Mf  
      List of Velocity context names Uz4!O  
      velocity的context列表 4*`AYx(  
#'5C*RO  
Fx@ovI- 5  
struts.velocity.manager.classname 0f_+h %%=  
      org.apache.struts2.views.velocity.VelocityManager implementation class \C{Dui) F  
      org.apache.struts2.views.velocity.VelocityManager接口名 %>];F~z  
pA%}CmrMq  
struts.velocity.toolboxlocation [TW?sW^0  
      The location of the Velocity toolbox lmGVSdo   
      velocity工具盒的位置 I ~U1vtgp  
struts.xslt.nocache LL0Y$pHV  
      Whether or not XSLT templates should not be cached p&s~O,Bw$  
      是否XSLT模版应该被缓存 mBwM=LAZ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五