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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 nHK(3Z4G  
Io6/Fv>!  
struts.action.extension f| RmAP;X,  
      The URL extension to use to determine if the request is meant for a Struts action {.Tx70kn  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^l &lwSRVt  
6( HF)z  
struts.configuration [P$Xr6#  
      The org.apache.struts2.config.Configuration implementation class n:j'0WW  
        org.apache.struts2.config.Configuration接口名 %>_[b,  
J3 $>~?^1  
struts.configuration.files tDByOml8Ix  
      A list of configuration files automatically loaded by Struts 3"fDFR  
      struts自动加载的一个配置文件列表 Ob d n#Wm=  
f~IJ4T2#N  
struts.configuration.xml.reload )7q$PcY  
      Whether to reload the XML configuration or not 3;nOm =I  
      是否加载xml配置(true,false) Bous d  
i1iP'`r  
struts.continuations.package -@To<<`n  
      The package containing actions that use Rife continuations *4,Q9K_  
      含有actions的完整连续的package名称 _ _Of0<  
.RQra+up  
struts.custom.i18n.resources RNIXQns-=S  
      Location of additional localization properties files to load jnH\}IB  
      加载附加的国际化属性文件(不包含.properties后缀) 8tvmqe_G  
ZsGvv]P  
struts.custom.properties (Wzp sDte  
      Location of additional configuration properties files to load > A#5` $i  
      加载附加的配置文件的位置 &$"#hGg  
Dc9uq5l  
k.@![w\ea  
struts.devMode Z9{~t  
      Whether Struts is in development mode or not J8|MK.oD  
      是否为struts开发模式 Daf|.5>(@  
j50vPV8m  
struts.dispatcher.parametersWorkaround MJn-] E  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _k84#E0  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) K`*GZ+b|`  
r924!zdbR  
struts.enable.DynamicMethodInvocation %L|fTndKH  
      Allows one to disable dynamic method invocation from the URL U,<m%C"  
        允许动态方法调用 l.YE@EL  
HB07 n4 |  
struts.freemarker.manager.classname =C %)(|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CEy\1D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 f@*69a8  
sqkWQ`Ur  
struts.i18n.encoding )'shpRB;1  
      The encoding to use for localization messages ^W |YE72Y  
      国际化信息内码 kUT2/3Vi  
K;K0D@>]HR  
struts.i18n.reload 6Yai?*.Q  
      Whether the localization messages should automatically be reloaded {UNH?2  
      是否国际化信息自动加载 MBLZ:A| C  
Pwh}hG1s a  
struts.locale D:P(;  
      The default locale for the Struts application Y2|i>5/|<  
      默认的国际化地区信息 9#8vPjXW}.  
<T 2O^  
struts.mapper.class x6ghO-s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {QG.> lB  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 a`O'ZY  
.jrNi=BP*  
struts.multipart.maxSize Q3@zUjq_Q  
      The maximize size of a multipart request (file upload) -FeXG#{)  
      multipart请求信息的最大尺寸(文件上传用) wO??"${OH  
K:Z$V  
struts.multipart.parser 7Sdo*z  
      The org.apache.struts2.dispatcher.multipart. *P mZqe  
      MultiPartRequest parser implementation for a multipart request (file upload) fRp]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \"P{8<h.3  
n,I3\l9  
.Rr^AGA4  
struts.multipart.saveDir %9-^,og  
      The directory to use for storing uploaded files emSq{A  
      设置存储上传文件的目录夹 fk*(8@u>  
mc{z  
struts.objectFactory !Ko2yn}6l  
      The com.opensymphony.xwork2.ObjectFactory implementation class x}G:n[B7_V  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Hv6h7-  
osC?2.  
struts.objectFactory.spring.autoWire h nydH-;cz  
      Whether Spring should autoWire or not *ug~LK5Y.  
      是否自动绑定Spring v^"\e&XL  
[ATJ! O  
struts.objectFactory.spring.useClassCache /t5)&  
      Whether Spring should use its class cache or not "Eh=@?]S_  
      是否spring应该使用自身的cache ax@H^Gj@2  
z} fpV T  
struts.objectTypeDeterminer >ohCz@~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 41 F;X{Br  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N8A)lYT]_u  
)JMqC+J3*t  
struts.serve.static.browserCache c *KE3:  
If static content served by the Struts filter should set browser caching header properties or not ~IhAO}1  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9a`Lr B  
M/S~"iD  
struts.serve.static <q63?Ms'  
      Whether the Struts filter should serve static content or not \gA!)q.;  
      是否struts过滤器应该提供静态内容 :Cq73:1\B  
NuZ2,<~9  
struts.tag.altSyntax Dfs^W{YA  
      Whether to use the alterative syntax for the tags or not }[+uHR6L  
      是否可以用替代的语法替代tags hSehJjEoM  
:{u`qi  
struts.ui.templateDir 7q0_lEh  
      The directory containing UI templates dT| XcVKg  
      UI templates的目录夹 .Fb#j+Lq  
J8i;E 4R  
struts.ui.theme 4v[y^P  
      The default UI template theme _i_='dsyW/  
      默认的UI template主题 s'HsLe0|  
@9/I^Zk  
struts.url.http.port PV68d; $:8  
      The HTTP port used by Struts URLs ki1(b]rf  
      设置http端口 x0j5D  
P&`%VW3E  
struts.url.https.port v9(5H Y  
      The HTTPS port used by Struts URLs RZ6y5  
      设置https端口 rr# nBhh8  
9r%fBiSk  
struts.url.includeParams t]K20(FSN  
      The default includeParams method to generate Struts URLs B{Q}^Mcxy  
      在url中产生 默认的includeParams <rC%$tr  
PMjNc_))  
U[C>Aoze  
struts.velocity.configfile *6I$N>1  
      The Velocity configuration file path d4o ^+\  
      velocity配置文件路径 7F<{ Qn  
G ;j1zs  
struts.velocity.contexts *p/,Z2f  
      List of Velocity context names ^h?fr`  
      velocity的context列表 G'|ql5Zw  
^\}MG!l  
W3:j Z:  
struts.velocity.manager.classname aoy Be|H~=  
      org.apache.struts2.views.velocity.VelocityManager implementation class {4_s:+v0  
      org.apache.struts2.views.velocity.VelocityManager接口名 i6Z7O )V  
V?XQjH1X  
struts.velocity.toolboxlocation M CC4'  
      The location of the Velocity toolbox 3.W[]zH/u  
      velocity工具盒的位置 @CNJpQ ujn  
struts.xslt.nocache sx?IIFF  
      Whether or not XSLT templates should not be cached - 2)k!5X=  
      是否XSLT模版应该被缓存 pRQ7rT',v  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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