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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~7ZZb*].(  
Bz }nP9  
struts.action.extension IzTJ7E*i  
      The URL extension to use to determine if the request is meant for a Struts action DK?aFSf\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (o|bst][S  
BZW03e8|  
struts.configuration phu,&DS!  
      The org.apache.struts2.config.Configuration implementation class 8HKv_vl  
        org.apache.struts2.config.Configuration接口名 oC|oh  
s*Qyd{"z  
struts.configuration.files y-+W  
      A list of configuration files automatically loaded by Struts N0S^{j,i  
      struts自动加载的一个配置文件列表 Vpg>K #w  
t~ {O)tt  
struts.configuration.xml.reload (5!'42  
      Whether to reload the XML configuration or not qa^cJ1@  
      是否加载xml配置(true,false) Kc\8GkdB  
0L/chP  
struts.continuations.package C%Lr3M;S'  
      The package containing actions that use Rife continuations tR>zBh_b  
      含有actions的完整连续的package名称 "YI,  
W_M#Gi/ AL  
struts.custom.i18n.resources X\;:aRDS  
      Location of additional localization properties files to load l-%] f]>  
      加载附加的国际化属性文件(不包含.properties后缀) r gIWM"  
tNFw1&  
struts.custom.properties 8B*(P>  
      Location of additional configuration properties files to load _$AM=?P &  
      加载附加的配置文件的位置 o~XK*f=(  
A*DN/lG  
D-{*3?x  
struts.devMode 2om:S+3)2  
      Whether Struts is in development mode or not 4ekwmw(ox  
      是否为struts开发模式 Cl&mz1Y;]1  
ZJ%NZAxy  
struts.dispatcher.parametersWorkaround ppz3"5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %l!A%fn(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) imif[n+]}d  
l[i4\ CT  
struts.enable.DynamicMethodInvocation \#%GVru!  
      Allows one to disable dynamic method invocation from the URL 23r(4  
        允许动态方法调用 qj _0 td$  
~b]enG5xS4  
struts.freemarker.manager.classname >gp53\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v)O0i2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 E$ \l57  
nlB'@r  
struts.i18n.encoding v Z]j%c@  
      The encoding to use for localization messages 4o}{3 ! m  
      国际化信息内码 n}a`|Nbk  
A4f"v)vM  
struts.i18n.reload =%~- M  
      Whether the localization messages should automatically be reloaded ftRFG  
      是否国际化信息自动加载 +TqrvI.  
}T$BU>z33N  
struts.locale K/*R}X  
      The default locale for the Struts application Q*<KX2O  
      默认的国际化地区信息 X:s~w#>R  
LujLC&S  
struts.mapper.class i FZGfar?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _3%$E.Q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;7s^slVzF  
_{'[Uf/l  
struts.multipart.maxSize +m./RlQ{  
      The maximize size of a multipart request (file upload) ;wMu  
      multipart请求信息的最大尺寸(文件上传用) ZS+m}.,whQ  
8i[TeW"  
struts.multipart.parser j.]]VA  
      The org.apache.struts2.dispatcher.multipart. P0m9($JBD  
      MultiPartRequest parser implementation for a multipart request (file upload) %WU=Vy4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) H 0+-$s;f  
A<|9</9z  
w =F9>  
struts.multipart.saveDir o;6~pw%  
      The directory to use for storing uploaded files YT8q0BR]  
      设置存储上传文件的目录夹 :N<Qk  
_fk}d[q0  
struts.objectFactory Pi"?l[T0  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8lx}0U  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6V$ )ym*F  
+H&/C1u  
struts.objectFactory.spring.autoWire [c=W p  
      Whether Spring should autoWire or not Ydrh+  
      是否自动绑定Spring 2 %fcDEG/  
>/\TG8t,f  
struts.objectFactory.spring.useClassCache Crc6wmp  
      Whether Spring should use its class cache or not NTq_"`JjZ  
      是否spring应该使用自身的cache aR3jeB,=x  
MuWZf2C  
struts.objectTypeDeterminer r1 :TM|5L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class wA$?e}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^J>m4`  
ng+sK  
struts.serve.static.browserCache kkZ}&OXS;  
If static content served by the Struts filter should set browser caching header properties or not L@O>;zp;  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5nib<B%<V  
;!f~  
struts.serve.static `r1j>F7Xb  
      Whether the Struts filter should serve static content or not VB905%  
      是否struts过滤器应该提供静态内容 ngZq]8 =o  
KgM|:'  
struts.tag.altSyntax .t[u_tBL  
      Whether to use the alterative syntax for the tags or not T+T)~!{%  
      是否可以用替代的语法替代tags F1BvDplQ>G  
wowf 1j-  
struts.ui.templateDir Vq0X:<9  
      The directory containing UI templates F-ZTy"z  
      UI templates的目录夹 5)Z=FUupA~  
qnyacI  
struts.ui.theme nmn/4>  
      The default UI template theme v`mB82s  
      默认的UI template主题 Q0"?TSY  
Mhn1-ma:  
struts.url.http.port @$kO7k0{g  
      The HTTP port used by Struts URLs \2+ngq)  
      设置http端口 Lbo3fwW  
07>m*1G  
struts.url.https.port iC hIW/H  
      The HTTPS port used by Struts URLs l@SV!keQ  
      设置https端口 0#Gm# =F  
|e!Y C iU  
struts.url.includeParams 8Kl&_-l{b  
      The default includeParams method to generate Struts URLs O9N!SQs80  
      在url中产生 默认的includeParams 8Y8bFWuc  
g~-IT&O  
bK}ZR*)  
struts.velocity.configfile ;B |  
      The Velocity configuration file path ;/V])4=  
      velocity配置文件路径 FWeUZI+  
~m<K5K6 V  
struts.velocity.contexts (t3gNin  
      List of Velocity context names H.iCYD_=  
      velocity的context列表 > A@yF?  
8Ckd.HKpQ  
#QsJr_=  
struts.velocity.manager.classname JtSwbdN  
      org.apache.struts2.views.velocity.VelocityManager implementation class qGN> a[D  
      org.apache.struts2.views.velocity.VelocityManager接口名 *>?N>f"  
bn|HvLQ"1  
struts.velocity.toolboxlocation ncadVheKt  
      The location of the Velocity toolbox 6?5dGYAX<  
      velocity工具盒的位置 6H2Bf*i  
struts.xslt.nocache vG6*[c8  
      Whether or not XSLT templates should not be cached lFf>z}eLy  
      是否XSLT模版应该被缓存 }U=}5`_]D  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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