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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 iVmy|ewd  
Lso%1M  
struts.action.extension pm[i#V<v  
      The URL extension to use to determine if the request is meant for a Struts action 66_=bd(9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |X6R 2I  
Rz*GRe  
struts.configuration <KoOJMx(  
      The org.apache.struts2.config.Configuration implementation class [W3sveqj&  
        org.apache.struts2.config.Configuration接口名 e$rPXRf  
T+%P+  
struts.configuration.files A#i[Us|  
      A list of configuration files automatically loaded by Struts #2Iw%H2q&  
      struts自动加载的一个配置文件列表 aQ&K a  
XSh [#qJ  
struts.configuration.xml.reload &W `7 b<  
      Whether to reload the XML configuration or not ]z# Ita;  
      是否加载xml配置(true,false) ''z]o#=^9  
;!3: 3;  
struts.continuations.package P1$D[aF9$  
      The package containing actions that use Rife continuations dAM]ZR<  
      含有actions的完整连续的package名称 (FGH t/!  
V <ilv<  
struts.custom.i18n.resources @,W5K$Ka=  
      Location of additional localization properties files to load WU,b<PU &  
      加载附加的国际化属性文件(不包含.properties后缀) 3&+nV1  
w:R#F( 'B  
struts.custom.properties FNo.#Z5+b  
      Location of additional configuration properties files to load n(SeJk%>9  
      加载附加的配置文件的位置 m6gMVon  
zzd PR}VG  
gp'k(rGH  
struts.devMode )6o%6$c  
      Whether Struts is in development mode or not wuSotbc/  
      是否为struts开发模式 { qCFd  
t2m7Yh5B  
struts.dispatcher.parametersWorkaround K<pZ*l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }-9 c1&m  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y*=Ipdj  
|U$ "GI  
struts.enable.DynamicMethodInvocation zpzxCzU  
      Allows one to disable dynamic method invocation from the URL Z=a~0&G  
        允许动态方法调用 g!cW`B'  
T&Z*=ShH  
struts.freemarker.manager.classname d(KK7SQg  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g{K \  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m)r,  
j;-2)ZLm  
struts.i18n.encoding ]U }B~Y  
      The encoding to use for localization messages KUHkjA_  
      国际化信息内码 Dg}EI^ d  
$IdU  
struts.i18n.reload 4.~<|T8  
      Whether the localization messages should automatically be reloaded 3'SN0VL  
      是否国际化信息自动加载 ,TYFPulYcp  
qT#NS&T!-  
struts.locale nD!t*P  
      The default locale for the Struts application K@:t6  
      默认的国际化地区信息 ]xbMMax  
]A1'+!1$  
struts.mapper.class u4 ~.[3E*  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kD)]\   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )Z\Zw~L  
/2tP d  
struts.multipart.maxSize %D% Ok7s})  
      The maximize size of a multipart request (file upload) +NeoGnj  
      multipart请求信息的最大尺寸(文件上传用) $)6M@S  
{L7+lz  
struts.multipart.parser o/=61K8D  
      The org.apache.struts2.dispatcher.multipart. Qx_N,1>S  
      MultiPartRequest parser implementation for a multipart request (file upload) TnQW ~_:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) l701$>>  
\vS > jB  
z&jASL  
struts.multipart.saveDir ~b4kV)[ q  
      The directory to use for storing uploaded files u Qg$hS  
      设置存储上传文件的目录夹 ;w._/  
b8Hz l!zO  
struts.objectFactory C+dz0u3s  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'X ?Iho  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :dxKcg7  
 OAgZeK$  
struts.objectFactory.spring.autoWire )XoMOz  
      Whether Spring should autoWire or not k3]qpWKj  
      是否自动绑定Spring *V[I&dKq  
z>'vS+axV  
struts.objectFactory.spring.useClassCache =CjWPZShV  
      Whether Spring should use its class cache or not DV)NY!  
      是否spring应该使用自身的cache 8~BLTZ  
|A+,M"F?  
struts.objectTypeDeterminer i8f+woZL  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bh3yH>Zns  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wT-K g=-q  
0}'/3Q  
struts.serve.static.browserCache B^{~,'  
If static content served by the Struts filter should set browser caching header properties or not HC6v#-( `{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (aq-aum-I  
Rv.IHSQUo  
struts.serve.static vV"I}L  
      Whether the Struts filter should serve static content or not QcjsQTAbk  
      是否struts过滤器应该提供静态内容 NH*"AE;  
7Rc>LI* '  
struts.tag.altSyntax UVW4KUxR  
      Whether to use the alterative syntax for the tags or not vjA!+_I6  
      是否可以用替代的语法替代tags @twi<U_  
r >sXvzv  
struts.ui.templateDir /fU -0a8  
      The directory containing UI templates #CW{y?=  
      UI templates的目录夹 #<#-Bv  
w?Cho</Xu  
struts.ui.theme V0%a/Hi v  
      The default UI template theme m9\~dD  
      默认的UI template主题 @CoUFdbz  
TKVS%//  
struts.url.http.port [ /<kPi  
      The HTTP port used by Struts URLs }?HWUAL\  
      设置http端口 H wz$zF+R  
bkrl>Im<n  
struts.url.https.port . +,{|){c  
      The HTTPS port used by Struts URLs ZoCk]hk  
      设置https端口 +6^hp-G7  
6 B7 F  
struts.url.includeParams mXyg\5  
      The default includeParams method to generate Struts URLs Vo|[Z)MO`  
      在url中产生 默认的includeParams ~ftR:F|9  
]3Jb$Q@  
C^:{y  
struts.velocity.configfile V6kDyl(  
      The Velocity configuration file path ID<[=es6  
      velocity配置文件路径 KTeR;6oZn"  
k`s_31<  
struts.velocity.contexts 0n={Mb  
      List of Velocity context names 90ov[|MkM  
      velocity的context列表 kv2 H3O  
bw!*=<  
`(6cRT`Wp  
struts.velocity.manager.classname h8;H<Y;yQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]LMtZUz  
      org.apache.struts2.views.velocity.VelocityManager接口名 `BaJ >%|  
3T[zieX  
struts.velocity.toolboxlocation czB),vooz  
      The location of the Velocity toolbox b'vIX< g  
      velocity工具盒的位置 _ D"S  
struts.xslt.nocache Vl'rO_?t  
      Whether or not XSLT templates should not be cached IYr}%:P)  
      是否XSLT模版应该被缓存 ;1>V7+/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八