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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 pm@Z[g  
N('DIi*or  
struts.action.extension ,9wenr  
      The URL extension to use to determine if the request is meant for a Struts action R(N(@KC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yVQz<tX|  
nvo1+W(%  
struts.configuration IPi<sE  
      The org.apache.struts2.config.Configuration implementation class ugCS &  
        org.apache.struts2.config.Configuration接口名 h?3l  
Ny,A#-?  
struts.configuration.files MI'l4<>u  
      A list of configuration files automatically loaded by Struts W<|K  
      struts自动加载的一个配置文件列表 Bi :wP/>v  
H9Q7({v  
struts.configuration.xml.reload >"g<-!p@  
      Whether to reload the XML configuration or not 8~(+[[TQ@  
      是否加载xml配置(true,false) OMI!=Upz  
y{Y+2}Dv/  
struts.continuations.package L_1_y, 0N  
      The package containing actions that use Rife continuations 1 lCikS^c  
      含有actions的完整连续的package名称 Jo aDX ,  
\*!%YTZ~  
struts.custom.i18n.resources 3J~kiy.nfW  
      Location of additional localization properties files to load 3hf ;4Mb  
      加载附加的国际化属性文件(不包含.properties后缀) 0!,gT H>  
a05:iFoJ  
struts.custom.properties *R\/#Y|  
      Location of additional configuration properties files to load -b\ V(@5  
      加载附加的配置文件的位置 _q$LrAT  
,x"yZ  
QC5f:BwM  
struts.devMode ->2wrOH|H  
      Whether Struts is in development mode or not %^?3s5PXD  
      是否为struts开发模式  vs])%l%t  
<Z:8~:@  
struts.dispatcher.parametersWorkaround dFP-(dX#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |k .M+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l9NOzAH3  
 ]RX tC*  
struts.enable.DynamicMethodInvocation Z++Z@J"  
      Allows one to disable dynamic method invocation from the URL Prb_/B Dd  
        允许动态方法调用 t#pqXY/;D  
eIUuq&(  
struts.freemarker.manager.classname i=X*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class w^rb|mKo  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |;U=YRi  
M`+e'vdw  
struts.i18n.encoding k CW!m  
      The encoding to use for localization messages gUH'DS]{  
      国际化信息内码 iPY vePQ  
/=YqjZTCq  
struts.i18n.reload B#k3"vk#  
      Whether the localization messages should automatically be reloaded g\\1C2jG  
      是否国际化信息自动加载 mB^I @oZ*  
AJ?}Hel[0  
struts.locale E/8u'  
      The default locale for the Struts application 2^^'t6@  
      默认的国际化地区信息 [[?[? V ,  
R2Rstk  
struts.mapper.class ICl_ eb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2Z;`#{  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 mU3Y)  
+)JNFy-  
struts.multipart.maxSize ua$k^m7m5  
      The maximize size of a multipart request (file upload) ;Up'~BP(  
      multipart请求信息的最大尺寸(文件上传用) 3:~l2KIP4  
y@kcXlY  
struts.multipart.parser ~AC P%QM=  
      The org.apache.struts2.dispatcher.multipart. SGBVR^  
      MultiPartRequest parser implementation for a multipart request (file upload) I*:qGr+ WJ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J|"nwY}a9  
x?f0Hk+  
pqH( Tbjq  
struts.multipart.saveDir 3Zaq#uA  
      The directory to use for storing uploaded files x7KcO0F{  
      设置存储上传文件的目录夹 E)80S.V  
o,CA;_  
struts.objectFactory 6R-C0_'h  
      The com.opensymphony.xwork2.ObjectFactory implementation class uhTKCR~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~.W=  
,a9D~i 9R  
struts.objectFactory.spring.autoWire xgtJl}L  
      Whether Spring should autoWire or not B%eDBu ")  
      是否自动绑定Spring ^Cc8F3os=  
k_K,J 6_)  
struts.objectFactory.spring.useClassCache ?@lx  
      Whether Spring should use its class cache or not M$&WM{Pr^  
      是否spring应该使用自身的cache |B%BwE  
zM_DE  
struts.objectTypeDeterminer y|e2j&m  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rb *C-NutE  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 dXhCyr%"6  
@~$F;M=.*  
struts.serve.static.browserCache c_ qcb7<~.  
If static content served by the Struts filter should set browser caching header properties or not - - i&"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9ra HSzK@d  
qab) 1ft  
struts.serve.static VBbUl|X\  
      Whether the Struts filter should serve static content or not %="~\1y  
      是否struts过滤器应该提供静态内容 WyBQ{H{So  
i>tW|N  
struts.tag.altSyntax Avs7(-L+s  
      Whether to use the alterative syntax for the tags or not VMxYZkMNd_  
      是否可以用替代的语法替代tags C(F1VS  
8/Et&TJ`  
struts.ui.templateDir 9Qt)m fqM  
      The directory containing UI templates u Q:ut(  
      UI templates的目录夹 VD9 q5tt7  
vx\nr8'k  
struts.ui.theme OH$ F >wO  
      The default UI template theme eW%L$I  
      默认的UI template主题 bK$/,,0=X/  
JHvFIo   
struts.url.http.port  ``(}4 a  
      The HTTP port used by Struts URLs [^?13xMb  
      设置http端口 ;f".'9 l^  
}.fL$,7a  
struts.url.https.port Exep+x-  
      The HTTPS port used by Struts URLs U;x1}eFT  
      设置https端口 '^Pq(b~  
(j8GiJ]{L,  
struts.url.includeParams u;+%Qh  
      The default includeParams method to generate Struts URLs ?G4iOiyt  
      在url中产生 默认的includeParams c&Gz> L  
tk`: CT *  
84[|qB,ML  
struts.velocity.configfile 457fT|  
      The Velocity configuration file path tXf}jU}  
      velocity配置文件路径 2j8Cv:{Nn%  
vQ:x% =]  
struts.velocity.contexts 'v'` F*6  
      List of Velocity context names 8l U;y)Z  
      velocity的context列表 -d|BO[4j  
SW,q}-  
Hi]vHG(  
struts.velocity.manager.classname NniX/fk  
      org.apache.struts2.views.velocity.VelocityManager implementation class #2Ac  
      org.apache.struts2.views.velocity.VelocityManager接口名 lp:_H-sG  
5h|'DO x|o  
struts.velocity.toolboxlocation ~8jThi U  
      The location of the Velocity toolbox K H>Sc3p  
      velocity工具盒的位置 `xISkW4%  
struts.xslt.nocache =:4 '  
      Whether or not XSLT templates should not be cached *4|9&PNLE  
      是否XSLT模版应该被缓存 hf_R\C(c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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