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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 j^986  
bAt!9uFn  
struts.action.extension u;1#eP\;  
      The URL extension to use to determine if the request is meant for a Struts action I-&/]<5y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Lp1wA*  
RhX 2qsva-  
struts.configuration TDy@Y> )  
      The org.apache.struts2.config.Configuration implementation class dax|4R  
        org.apache.struts2.config.Configuration接口名 k $3.FO"  
RSzp-sKB  
struts.configuration.files @DY0Lz;  
      A list of configuration files automatically loaded by Struts v>7tJ[s  
      struts自动加载的一个配置文件列表 Pr@ EpO  
UyTq(7uo  
struts.configuration.xml.reload ,Lox?}t  
      Whether to reload the XML configuration or not &> }MoB  
      是否加载xml配置(true,false) )<IbQH|_  
=:o)+NE  
struts.continuations.package 'HPw5 L  
      The package containing actions that use Rife continuations #d(6q$IE  
      含有actions的完整连续的package名称 XlDVJx<&J  
# |w,^tV  
struts.custom.i18n.resources p^\>{  
      Location of additional localization properties files to load JnV$)EYi  
      加载附加的国际化属性文件(不包含.properties后缀) - stSl*  
ur9-F^$  
struts.custom.properties !Z<Z"R/  
      Location of additional configuration properties files to load w[:5uo(  
      加载附加的配置文件的位置 ra$_#HY  
tJ2l_M^  
69O?sIk  
struts.devMode <$,i Yx   
      Whether Struts is in development mode or not 8t9sdqM/C  
      是否为struts开发模式 \`|,wLgH  
&hjrJ/'^  
struts.dispatcher.parametersWorkaround ax7u b  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ft:/-$&H  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) WNlWigwYl  
ls 'QfJm  
struts.enable.DynamicMethodInvocation C @hnT<e  
      Allows one to disable dynamic method invocation from the URL .E[k}{k,  
        允许动态方法调用 ;2#HM^Mu  
ax'Dp{Q  
struts.freemarker.manager.classname {hZZU8*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t~,!a?S7  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yd#4b`8U`  
i&Xr+Zsec"  
struts.i18n.encoding - uliND  
      The encoding to use for localization messages )1lYfJ  
      国际化信息内码 0`,a@Q4  
&'T7 ~M:  
struts.i18n.reload ''v_8sv  
      Whether the localization messages should automatically be reloaded gaTI:SKzc  
      是否国际化信息自动加载 78y4nRQ*  
\AkeC6[D  
struts.locale E2!;W8M  
      The default locale for the Struts application }^)M)8zS  
      默认的国际化地区信息 V u;tU.  
&..'7  
struts.mapper.class WoesE:NiR  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class W53i5u(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0y2iS' t  
ikyvst>O  
struts.multipart.maxSize * RN*Bh|$  
      The maximize size of a multipart request (file upload) #HM0s~^w&  
      multipart请求信息的最大尺寸(文件上传用) Z~muQ c?  
AP/tBC eM  
struts.multipart.parser wjKW 3  
      The org.apache.struts2.dispatcher.multipart. )5'S=av9  
      MultiPartRequest parser implementation for a multipart request (file upload) l$)pCo  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) k NK)mE  
-`f JhQ|  
l.>QO ;  
struts.multipart.saveDir )]X_')K  
      The directory to use for storing uploaded files }w"laZ*  
      设置存储上传文件的目录夹 lZ/Yp~2S  
Kax85)9u  
struts.objectFactory %8hhk]m\b>  
      The com.opensymphony.xwork2.ObjectFactory implementation class wU?2aXY  
      com.opensymphony.xwork2.ObjectFactory接口(spring) c1jgBty  
vseuk@>  
struts.objectFactory.spring.autoWire #sAEIk/  
      Whether Spring should autoWire or not 0^:O:X  
      是否自动绑定Spring &ATjDbW*(  
_oe2 pL&  
struts.objectFactory.spring.useClassCache mw?,oiT,)  
      Whether Spring should use its class cache or not _g$6vx&  
      是否spring应该使用自身的cache o5 . q  
<=^YIp  
struts.objectTypeDeterminer +4B>gS[ F  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class QJ>+!p*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 g0_8:Gs}^  
z4_>6sf{  
struts.serve.static.browserCache DFqXZfjm  
If static content served by the Struts filter should set browser caching header properties or not <7?MutHM-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H[!by)H  
m:X;dcq'3  
struts.serve.static xjv?Z"X  
      Whether the Struts filter should serve static content or not Rz*%(2Vz  
      是否struts过滤器应该提供静态内容 ML Id3#Q  
E]_sl/`{od  
struts.tag.altSyntax  5Lm ?  
      Whether to use the alterative syntax for the tags or not "mHSbG  
      是否可以用替代的语法替代tags pkBmAJb@  
/1o~x~g(b  
struts.ui.templateDir L[##w?Xf.  
      The directory containing UI templates '1/uf;OXIH  
      UI templates的目录夹 NWb,$/7T  
O8 k$Uc  
struts.ui.theme 1_XdL?h#o  
      The default UI template theme $I>.w4G}  
      默认的UI template主题 Sf lHSMFw  
b_cD >A  
struts.url.http.port 0u -'{6  
      The HTTP port used by Struts URLs Jr 9\j3J{  
      设置http端口 & 7JCPw  
95?$O~I  
struts.url.https.port ;]vE"Mx$  
      The HTTPS port used by Struts URLs 5BTQJa  
      设置https端口 VY Va8[}  
zcP_-q]1  
struts.url.includeParams lE$X9yIt  
      The default includeParams method to generate Struts URLs sq-[<ryk  
      在url中产生 默认的includeParams Dgp"RUP  
QTtcGU  
#pE : !D  
struts.velocity.configfile ^MQ7*g6o  
      The Velocity configuration file path v7xc01x  
      velocity配置文件路径 N\<M4 fn  
a:v&pj+|<  
struts.velocity.contexts %k5^n0|*  
      List of Velocity context names Fag%#jxI  
      velocity的context列表 /_aFQ>.4n  
{p1#H`  
^e^M A.kM,  
struts.velocity.manager.classname 8]'qJ;E2  
      org.apache.struts2.views.velocity.VelocityManager implementation class 3%!d&j>v  
      org.apache.struts2.views.velocity.VelocityManager接口名 k+&LOb7  
r5tv9#4]  
struts.velocity.toolboxlocation fh}\#WE"  
      The location of the Velocity toolbox ([tbFI}A  
      velocity工具盒的位置 v#nYH?+~mJ  
struts.xslt.nocache | u7vY/  
      Whether or not XSLT templates should not be cached `NyvJt^<  
      是否XSLT模版应该被缓存 _ z{:Q  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八