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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f=t:[ < )  
rlR !&  
struts.action.extension } sf YCz  
      The URL extension to use to determine if the request is meant for a Struts action ;c1relR2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J"diFz+20  
9 0X?1  
struts.configuration bsB},pc  
      The org.apache.struts2.config.Configuration implementation class fZ[kh{|  
        org.apache.struts2.config.Configuration接口名 $[[?;g  
#X#8ynt  
struts.configuration.files [-4KY4R  
      A list of configuration files automatically loaded by Struts fi=0{  
      struts自动加载的一个配置文件列表 8h@q  
@zo7.'7P   
struts.configuration.xml.reload *dN N<  
      Whether to reload the XML configuration or not & B}Lo  
      是否加载xml配置(true,false) QS^~77q  
/dLA`=rZx  
struts.continuations.package M~als3  
      The package containing actions that use Rife continuations O#vn)+Y,*  
      含有actions的完整连续的package名称 im8 -7Xt  
C)OG62  
struts.custom.i18n.resources cA<<& C  
      Location of additional localization properties files to load !K[/L< Kv  
      加载附加的国际化属性文件(不包含.properties后缀) e8oKn&  
[9OSpq  
struts.custom.properties !n eo\  
      Location of additional configuration properties files to load R"Kz!NTB  
      加载附加的配置文件的位置 cJ. 7Mt  
Z ] '>  
s O=4IBE  
struts.devMode Rv<L#!; t  
      Whether Struts is in development mode or not }z wX  
      是否为struts开发模式 Q/py qe G  
DVh)w}v  
struts.dispatcher.parametersWorkaround _8^0!,j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0oSQY[ht/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G6V/SaD  
n?:2.S.8  
struts.enable.DynamicMethodInvocation 0 _A23.Y  
      Allows one to disable dynamic method invocation from the URL H -,TS^W  
        允许动态方法调用 I^G^J M!  
BqB |Fo  
struts.freemarker.manager.classname :3^dF}>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #Ao !>qCE  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `*aBRwvK~  
PO o%^'(  
struts.i18n.encoding tuxRVV8l  
      The encoding to use for localization messages tuLH}tkNY  
      国际化信息内码 Blk}I  
rslvsS:  
struts.i18n.reload L^FcS\r;  
      Whether the localization messages should automatically be reloaded #!})3_Qc(y  
      是否国际化信息自动加载 CxDcY  
w2OsLi Sv  
struts.locale VRbQdiZ{  
      The default locale for the Struts application 0Z HDBh  
      默认的国际化地区信息 f*m[|0qI<X  
V_"f|[1  
struts.mapper.class I^_NC&m  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~.oj.[ }  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X>zlb$  
>zngJ$  
struts.multipart.maxSize 4h8*mMghs  
      The maximize size of a multipart request (file upload) ? ?[g}>  
      multipart请求信息的最大尺寸(文件上传用) >c~RI7uu  
G1d(,4Xp  
struts.multipart.parser VagT_D  
      The org.apache.struts2.dispatcher.multipart. +,5-qm)Gh>  
      MultiPartRequest parser implementation for a multipart request (file upload) Sh&PNJ-*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) KX4],B5 +  
{( tHk_q  
uMmXs% 9T  
struts.multipart.saveDir I g \#f  
      The directory to use for storing uploaded files RMP9y$~3pU  
      设置存储上传文件的目录夹 PsnGXcj  
X`JV R"=4  
struts.objectFactory QDTNx!WL  
      The com.opensymphony.xwork2.ObjectFactory implementation class 73F5d/n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) fU+Pn@'  
rHz||jjU  
struts.objectFactory.spring.autoWire ?LP9iY${  
      Whether Spring should autoWire or not }}r> K}  
      是否自动绑定Spring ~*.-  
k)7{Y9_No  
struts.objectFactory.spring.useClassCache V/%~F6e  
      Whether Spring should use its class cache or not GTl xq%?b  
      是否spring应该使用自身的cache !3 qVB  
S\#17.=  
struts.objectTypeDeterminer v)X\GmW7w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <AoXEu D  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 I)SG wt-  
z-T{~{q  
struts.serve.static.browserCache ZH 6\><My  
If static content served by the Struts filter should set browser caching header properties or not 5:.{oSy7n  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y.6SOu5$]  
nH-V{=**  
struts.serve.static 9KuD(EJS  
      Whether the Struts filter should serve static content or not .qv'6G  
      是否struts过滤器应该提供静态内容 gm"#:< )  
B&?sF" Y  
struts.tag.altSyntax R[B?C;+(O  
      Whether to use the alterative syntax for the tags or not Dt|)=a  
      是否可以用替代的语法替代tags >SbK.Q@ei  
"sUyHt-&  
struts.ui.templateDir w3T]H_V  
      The directory containing UI templates Kg\R+i@#<  
      UI templates的目录夹 b;cMl'  
.ic:`1  
struts.ui.theme cmwPuK$  
      The default UI template theme ~ 5"JzT  
      默认的UI template主题 1fU,5+PH  
K4ZolWbU  
struts.url.http.port V^s0fWa  
      The HTTP port used by Struts URLs gb|Q%LS9R  
      设置http端口 =n(3o$r(  
TI|/u$SJ<Z  
struts.url.https.port PJ4(}a  
      The HTTPS port used by Struts URLs @~td`Z?1 y  
      设置https端口 *Mc7f?H  
w8Sv*K  
struts.url.includeParams \*t~==WB  
      The default includeParams method to generate Struts URLs Y"g.IK`V  
      在url中产生 默认的includeParams ,F6=b/eZ  
Fg]?zEa  
sBX-X$*N  
struts.velocity.configfile ^Q<mV*~  
      The Velocity configuration file path Wi. 5Y{  
      velocity配置文件路径 t<iEj"5  
X;F8_+Np  
struts.velocity.contexts O`1!  
      List of Velocity context names &DG->$&|  
      velocity的context列表 FDzqL;I  
OWq'[T4  
\c,pEXG  
struts.velocity.manager.classname DL^o_61  
      org.apache.struts2.views.velocity.VelocityManager implementation class `_ %S  
      org.apache.struts2.views.velocity.VelocityManager接口名 aW_oD[l  
PUJ2`iP1^3  
struts.velocity.toolboxlocation hB;VCg8  
      The location of the Velocity toolbox |KI UgI  
      velocity工具盒的位置 4bVO9aUG{  
struts.xslt.nocache {y=W6uP  
      Whether or not XSLT templates should not be cached DE$q+j0P  
      是否XSLT模版应该被缓存 yM.IxpT#$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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