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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Mf``_=K  
(dSL7nel;L  
struts.action.extension h9W^[6  
      The URL extension to use to determine if the request is meant for a Struts action lnR{jtWP  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L*JjG sTH  
5`:Y ye  
struts.configuration #>+HlT  
      The org.apache.struts2.config.Configuration implementation class Y:a]00&)#Y  
        org.apache.struts2.config.Configuration接口名 f& '  
N]sAji*  
struts.configuration.files I,8Er2;)  
      A list of configuration files automatically loaded by Struts C;urBsC  
      struts自动加载的一个配置文件列表 ?6Y?a2 |  
q'8 2qY  
struts.configuration.xml.reload HHsmLo c4  
      Whether to reload the XML configuration or not U4B( #2'  
      是否加载xml配置(true,false) wD)XjX  
~e@z;]CiY  
struts.continuations.package TRq6NB  
      The package containing actions that use Rife continuations "9e\c;a  
      含有actions的完整连续的package名称 L;I]OC^J  
c0u^zH<  
struts.custom.i18n.resources DR<9#RRD  
      Location of additional localization properties files to load G'A R`"F  
      加载附加的国际化属性文件(不包含.properties后缀) 0"bcdG<}  
ea')$gR  
struts.custom.properties C3YT1tK  
      Location of additional configuration properties files to load w`zTR0`  
      加载附加的配置文件的位置 E^eVvP4uC@  
ixD)VcD-f  
CzEd8jeh7  
struts.devMode sLAQE64\"  
      Whether Struts is in development mode or not _aT5jR=  
      是否为struts开发模式 E~oOKQ5W  
Y0 -n\|  
struts.dispatcher.parametersWorkaround @I!0-OjL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *!7 O~yQ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d-dEQKI?;  
N<injx  
struts.enable.DynamicMethodInvocation e**qF=HCw  
      Allows one to disable dynamic method invocation from the URL [HZv8HU|  
        允许动态方法调用 >\3V a  
&KRX[2  
struts.freemarker.manager.classname Npy :!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6~w@PRy  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 JcxThZP~  
#O dJ"1A|  
struts.i18n.encoding  a!AA]  
      The encoding to use for localization messages >I&5j/&}+  
      国际化信息内码 @6T/Tdz  
^$hH1H+V  
struts.i18n.reload pcWPH.  
      Whether the localization messages should automatically be reloaded v^ V itLC  
      是否国际化信息自动加载 :G%61x&=Zc  
$ gS>FJ  
struts.locale @2 fg~2M1  
      The default locale for the Struts application E09 :E  
      默认的国际化地区信息 v z '&%(  
| h#u^v3  
struts.mapper.class W|63Ir67  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 7E~;xn;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 fS78>*K  
wi6 ~}~%  
struts.multipart.maxSize j+  0I-p  
      The maximize size of a multipart request (file upload) VS8Rx.?  
      multipart请求信息的最大尺寸(文件上传用) ^,T(mKS  
}?Ai87-{  
struts.multipart.parser -C?ZB}`   
      The org.apache.struts2.dispatcher.multipart. L0WN\|D  
      MultiPartRequest parser implementation for a multipart request (file upload) b!5~7Ub.No  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) a HR"n|7{  
y/ ef>ZZ  
Gu\q%'I  
struts.multipart.saveDir !." D]i;  
      The directory to use for storing uploaded files ;@Y;g(bw:  
      设置存储上传文件的目录夹 338k?nHxv  
n8ZZ#}Nhg  
struts.objectFactory l)l^[2  
      The com.opensymphony.xwork2.ObjectFactory implementation class _.Uh)-yR  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %aVq+kC h  
x-&@wMqkc  
struts.objectFactory.spring.autoWire |H+UOEiv,p  
      Whether Spring should autoWire or not vuY~_  
      是否自动绑定Spring 5uj?#)N  
);&:9[b_  
struts.objectFactory.spring.useClassCache H%Q7D-  
      Whether Spring should use its class cache or not fHd#u%63K  
      是否spring应该使用自身的cache 8>i n_h9  
V{3x!+q  
struts.objectTypeDeterminer -fW*vE:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &(l9?EVq1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #fn)k1  
6fEqqUeV  
struts.serve.static.browserCache K/yxE|w<  
If static content served by the Struts filter should set browser caching header properties or not Uf;^%*P4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R|87%&6']  
u^ 8{Z;mm  
struts.serve.static &powy7rR  
      Whether the Struts filter should serve static content or not Sk\K4  
      是否struts过滤器应该提供静态内容 :emiQ  
Tqn@P  
struts.tag.altSyntax 5f K_Aq{  
      Whether to use the alterative syntax for the tags or not nazZ*lC  
      是否可以用替代的语法替代tags Gm^U;u}=f  
-ifFbT+x  
struts.ui.templateDir 4yA+ h2  
      The directory containing UI templates 0rs"o-s<  
      UI templates的目录夹 ;RPx^X~  
V#gK$uv  
struts.ui.theme gu.}M:u  
      The default UI template theme v\%HPMlh  
      默认的UI template主题 @>2i+)=E5  
rlSeu5X6  
struts.url.http.port  < !C)x  
      The HTTP port used by Struts URLs 2B&3TLO  
      设置http端口 4*cEag   
w;:*P  
struts.url.https.port }-2 2XYh  
      The HTTPS port used by Struts URLs `% "\@<  
      设置https端口 #r~# I}U  
YWO)HsjP  
struts.url.includeParams bI9~jWgGp  
      The default includeParams method to generate Struts URLs .:%0E`E  
      在url中产生 默认的includeParams Zaf:fsj>  
jZkcBIK2  
FxWSV|Z  
struts.velocity.configfile ? _9  
      The Velocity configuration file path LxSpctiNx  
      velocity配置文件路径 >7T'OC  
6Vnsi%{  
struts.velocity.contexts Nkth>7*  
      List of Velocity context names W/bQd)Jvk  
      velocity的context列表 Ee%%d  
C]`$AqKl  
qv KG-|j  
struts.velocity.manager.classname z3m85F%dR  
      org.apache.struts2.views.velocity.VelocityManager implementation class WUXx;9>  
      org.apache.struts2.views.velocity.VelocityManager接口名 o&)8o5  
Z4w!p?Wqa  
struts.velocity.toolboxlocation )e=D(qd  
      The location of the Velocity toolbox Em !/a$  
      velocity工具盒的位置 Zbt.t] N  
struts.xslt.nocache '9Xu p  
      Whether or not XSLT templates should not be cached Vl=l?A8  
      是否XSLT模版应该被缓存 J7Hl\Q[D1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五