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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3TY5;6  
o:3dfO%nuM  
struts.action.extension iB%gPoDCL@  
      The URL extension to use to determine if the request is meant for a Struts action I+[>I=ewa  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Kgi<UkFP  
B"TAjB& *  
struts.configuration ymx>i~>7J  
      The org.apache.struts2.config.Configuration implementation class ZaV8qAsP  
        org.apache.struts2.config.Configuration接口名 ['B?i1 .  
UBaAx21x  
struts.configuration.files 0 yuW*z  
      A list of configuration files automatically loaded by Struts MHX?@. v  
      struts自动加载的一个配置文件列表 $_o-~F2i5  
->g*</  
struts.configuration.xml.reload '%dfz K*Z  
      Whether to reload the XML configuration or not x,|hU@h  
      是否加载xml配置(true,false) #><.oreXq  
V-Sd[  
struts.continuations.package h?BFvbAt  
      The package containing actions that use Rife continuations vdx0i&RiL  
      含有actions的完整连续的package名称 g!?:Ye`5  
\eT5flC  
struts.custom.i18n.resources bzuEfFaL  
      Location of additional localization properties files to load r^3acXl  
      加载附加的国际化属性文件(不包含.properties后缀) QxVq^H  
G MX?  
struts.custom.properties &eCa0s?mI  
      Location of additional configuration properties files to load )4<__|52"1  
      加载附加的配置文件的位置 W&& ;:Fr  
$Q96,rb}k;  
HkUWehVm  
struts.devMode c#Sa]n  
      Whether Struts is in development mode or not q_g+Jf P-D  
      是否为struts开发模式 El[)?+;D  
+;N2p1ZBf  
struts.dispatcher.parametersWorkaround %)|9E>fP]N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic b F"G[pD  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %,6#2X nX%  
%|g>%D3Z?  
struts.enable.DynamicMethodInvocation  -QM: q  
      Allows one to disable dynamic method invocation from the URL #h8Sq~0  
        允许动态方法调用 zF8dKFE~  
)z73-M V"  
struts.freemarker.manager.classname q Gw -tPD<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h_:C+)13`x  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vq^f}id  
+eyc`J  
struts.i18n.encoding ;#xmQi'`  
      The encoding to use for localization messages 4'`{H@]tb  
      国际化信息内码 6K-_pg]  
'=nQ$/!q  
struts.i18n.reload % NA9{<I  
      Whether the localization messages should automatically be reloaded fPn>v)lN{  
      是否国际化信息自动加载 5NS[dQG5  
%r%Mlj:#  
struts.locale =vDEfO/T  
      The default locale for the Struts application Rs-]N1V  
      默认的国际化地区信息  86 W9rR  
F)&@P-9+  
struts.mapper.class aY'C%^h]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class x(etb<!jd  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \W1,F6&j  
[S HXJ4P*  
struts.multipart.maxSize n>+mL"hs  
      The maximize size of a multipart request (file upload) )uj Ex7&c  
      multipart请求信息的最大尺寸(文件上传用) OGde00  
<>s`\ %  
struts.multipart.parser >}`:Ac  
      The org.apache.struts2.dispatcher.multipart. q3.j"WaP  
      MultiPartRequest parser implementation for a multipart request (file upload) }!"A!~&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P&9Gga^I  
v 1z  
M)'HCnvs'  
struts.multipart.saveDir )6,de2Pb  
      The directory to use for storing uploaded files yj;sSRT  
      设置存储上传文件的目录夹 y.#")IAF  
dv8>[#  
struts.objectFactory /^X/8  
      The com.opensymphony.xwork2.ObjectFactory implementation class y#Fv+`YDl  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Xu< k3oD7  
b$ve sJ  
struts.objectFactory.spring.autoWire kbTm^y"  
      Whether Spring should autoWire or not 1|kvPo#  
      是否自动绑定Spring ;1`fC@rI  
#!aN{nK0  
struts.objectFactory.spring.useClassCache {1V($aBl  
      Whether Spring should use its class cache or not "= 6_V?&w  
      是否spring应该使用自身的cache 4]G?G]lS>  
@wpN6 /   
struts.objectTypeDeterminer YQ+tDZY8`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #E? (vA1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Mr;E<Lj ^K  
,k{#S?:b  
struts.serve.static.browserCache (i34sqV$m  
If static content served by the Struts filter should set browser caching header properties or not WG N=Y~E  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d F9!G;V  
CdasP9"1  
struts.serve.static y4*U6+#.  
      Whether the Struts filter should serve static content or not u.d).da  
      是否struts过滤器应该提供静态内容 C8[&S&<_<  
&Q;sSIc  
struts.tag.altSyntax co~Pyj  
      Whether to use the alterative syntax for the tags or not :=/85\P0SU  
      是否可以用替代的语法替代tags <j&DK2u=i  
p2n0Z\2  
struts.ui.templateDir @hJ%@(  
      The directory containing UI templates ';TT4$(m  
      UI templates的目录夹 b8V~S'6VqO  
C ~<'rO}|  
struts.ui.theme c(:f\Wc3Z  
      The default UI template theme U*( izD  
      默认的UI template主题 ^T ?RK "p  
U]^HjfX\  
struts.url.http.port 8TGOx%}i  
      The HTTP port used by Struts URLs }4Tc  
      设置http端口 YVYu:}e3)  
3HLNCt09  
struts.url.https.port (g[h 8 c  
      The HTTPS port used by Struts URLs : >6F+XZ  
      设置https端口 MHh~vy'HB5  
Wc,~{  
struts.url.includeParams 0~ZFv Wv  
      The default includeParams method to generate Struts URLs X 9p.gXF  
      在url中产生 默认的includeParams J?RabYd ~  
KNS.Nw7  
jX3,c%aQ5e  
struts.velocity.configfile !n* +(lZ  
      The Velocity configuration file path 9Wnn'T@Tl  
      velocity配置文件路径 +?u~APjNN  
HG+%HUO$  
struts.velocity.contexts ]bj&bk#  
      List of Velocity context names "OQ^U_  
      velocity的context列表 plb!.g  
rM .|1(u  
O\E/. B  
struts.velocity.manager.classname tE@;X=  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~aMlr6;  
      org.apache.struts2.views.velocity.VelocityManager接口名 a= DcZ_M  
^cczJOxB  
struts.velocity.toolboxlocation ^aH \7J@Y  
      The location of the Velocity toolbox Pl=ZRKn  
      velocity工具盒的位置 R%Q@   
struts.xslt.nocache bn^{c  
      Whether or not XSLT templates should not be cached PV9pa/`@  
      是否XSLT模版应该被缓存 V n*  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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