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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 rAgpcp}  
]HRHF'4  
struts.action.extension DvA#zX[  
      The URL extension to use to determine if the request is meant for a Struts action P#;pQC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 kjSzu qB  
-7EwZRS@9  
struts.configuration 77 ?TRC  
      The org.apache.struts2.config.Configuration implementation class sr~VvciIy  
        org.apache.struts2.config.Configuration接口名 `2xt%kC  
z3w;W{2Q;V  
struts.configuration.files Gr3 q  
      A list of configuration files automatically loaded by Struts !=+;9Ry$z  
      struts自动加载的一个配置文件列表 ADMeOdgca  
Q0Gfwl  
struts.configuration.xml.reload c{T)31ldW  
      Whether to reload the XML configuration or not F-$NoEL  
      是否加载xml配置(true,false) q@4Cw&AI+  
~fO#En  
struts.continuations.package &3*r-9BZ  
      The package containing actions that use Rife continuations u4[JDB7tH  
      含有actions的完整连续的package名称 0+A#k7c6p  
f1d<xGx  
struts.custom.i18n.resources \;"S>dg  
      Location of additional localization properties files to load F<)f&<5E-  
      加载附加的国际化属性文件(不包含.properties后缀) @Z96902<t  
6-nf+!#G  
struts.custom.properties frWY8&W^H  
      Location of additional configuration properties files to load $% W.=a'5  
      加载附加的配置文件的位置 uLN.b339  
4XeO^#  
|J ^I8gx+  
struts.devMode nH[>Sff$  
      Whether Struts is in development mode or not HaOSFltf#  
      是否为struts开发模式 Z,F1n/7  
r&XxF >  
struts.dispatcher.parametersWorkaround zaE!=-U  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *mN8Qd  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a$LoQ<f_  
TQ5kT?/{  
struts.enable.DynamicMethodInvocation 5%DHF-W)  
      Allows one to disable dynamic method invocation from the URL Q%t _Epe  
        允许动态方法调用 wJ7Fnj>u%  
ASNo6dP 7  
struts.freemarker.manager.classname 73!])!SVI  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class <*p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H#bu3*'  
FWS!b!#,N  
struts.i18n.encoding BkDq9>  
      The encoding to use for localization messages RLDu5  
      国际化信息内码 t1aKq)?  
ay=f1<a  
struts.i18n.reload HA0yX?f]  
      Whether the localization messages should automatically be reloaded h:vI:V[/X  
      是否国际化信息自动加载 y!\q ', F  
D,s[{RW+q  
struts.locale B{1yMJA  
      The default locale for the Struts application "VAbUs  
      默认的国际化地区信息 UD5f+,_;  
6V1 Z(K  
struts.mapper.class }oii|=,#^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class y$L&N0z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 *(VwD)*  
V_)465g  
struts.multipart.maxSize 'EkjySZ]F{  
      The maximize size of a multipart request (file upload) X|60W  
      multipart请求信息的最大尺寸(文件上传用) 0#F<JsO|u  
cty  
struts.multipart.parser Aac7k m  
      The org.apache.struts2.dispatcher.multipart. x2g=%K=  
      MultiPartRequest parser implementation for a multipart request (file upload) J {\]ZPs  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *0 ;|  
kwFo*1 {  
j,N,WtE  
struts.multipart.saveDir I4zm{ 1g  
      The directory to use for storing uploaded files QFEc?sEe  
      设置存储上传文件的目录夹 l{_1`rC'  
&|Vzo@D(!  
struts.objectFactory 'Ub\8<HfJU  
      The com.opensymphony.xwork2.ObjectFactory implementation class E^m2:J]G  
      com.opensymphony.xwork2.ObjectFactory接口(spring) (DTkK5/%  
IPnx5#eB  
struts.objectFactory.spring.autoWire =5h ,ZB2A  
      Whether Spring should autoWire or not M,P:<-J  
      是否自动绑定Spring (m=F  
w{Y:p[}  
struts.objectFactory.spring.useClassCache 5OC3:%g  
      Whether Spring should use its class cache or not SJ:Wr{ Or3  
      是否spring应该使用自身的cache 0U:9&j P,  
&>hln<a>  
struts.objectTypeDeterminer `mKK1x  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8#a2 kR<b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $yMNdBI[  
?w@KF%D  
struts.serve.static.browserCache x]:B3_qR  
If static content served by the Struts filter should set browser caching header properties or not B{Lcx~  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |JCn=v@  
P/dT;YhL  
struts.serve.static "J3n_3+  
      Whether the Struts filter should serve static content or not <t.  w(?  
      是否struts过滤器应该提供静态内容 RSf*[2  
luO4ap]*  
struts.tag.altSyntax /I q6'oo  
      Whether to use the alterative syntax for the tags or not g U v`G  
      是否可以用替代的语法替代tags b#_u.vP  
Y; q['h  
struts.ui.templateDir k #/%#rQM  
      The directory containing UI templates EA!I& mBq  
      UI templates的目录夹 \H.1I=<  
c(!{_+q"  
struts.ui.theme QdP)-Fx  
      The default UI template theme ro@`S:  
      默认的UI template主题 @*~cmf&FIQ  
8x<; AL|`  
struts.url.http.port |'12Kv]#Xa  
      The HTTP port used by Struts URLs </7?puVR  
      设置http端口 0'^zIL#.  
>J@hqW  
struts.url.https.port }9(:W</}  
      The HTTPS port used by Struts URLs a(eUdGJ  
      设置https端口 mybjcsV4  
ZCCwx71j  
struts.url.includeParams FtxmCIVIV~  
      The default includeParams method to generate Struts URLs jX{t/8v/s4  
      在url中产生 默认的includeParams  .tRWL!  
JUC62s#_z  
{K+]^M  
struts.velocity.configfile $5#+;A'Q+  
      The Velocity configuration file path MIWI0bnf  
      velocity配置文件路径 cvQ MZ,p  
dK?vg@|'  
struts.velocity.contexts 4krK CD>|G  
      List of Velocity context names YW)& IA2  
      velocity的context列表 pL)o@-k#%  
u6u1>  
h8tKYm  
struts.velocity.manager.classname wr;8o*~  
      org.apache.struts2.views.velocity.VelocityManager implementation class }\)O1  
      org.apache.struts2.views.velocity.VelocityManager接口名 twJ)h :!_y  
?hwT{h  
struts.velocity.toolboxlocation "]D2}E>U;  
      The location of the Velocity toolbox 6/eh~ME=  
      velocity工具盒的位置 F;_L/8Ov1  
struts.xslt.nocache  -!z,t7!  
      Whether or not XSLT templates should not be cached :g=z}7!s  
      是否XSLT模版应该被缓存 Ym "Nj  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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