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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w;@DcX$]  
wc@X:${  
struts.action.extension |KEq-  
      The URL extension to use to determine if the request is meant for a Struts action ^Qrezl&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .<ux Z  
\z'A6@  
struts.configuration 8/lv,m#  
      The org.apache.struts2.config.Configuration implementation class f`Km ctI  
        org.apache.struts2.config.Configuration接口名 022nn-~  
!J<}=G5  
struts.configuration.files i$MYR @  
      A list of configuration files automatically loaded by Struts i"|="O0v5  
      struts自动加载的一个配置文件列表 kT|{5Kn&s  
0a<:.}  
struts.configuration.xml.reload z@@w?>*  
      Whether to reload the XML configuration or not :9`'R0=i^  
      是否加载xml配置(true,false) 9nW/pv  
Tc{r;:'G<  
struts.continuations.package cspO5S>#  
      The package containing actions that use Rife continuations bpq2TgFj  
      含有actions的完整连续的package名称 iaShxoIV  
}Ej^M~Vv  
struts.custom.i18n.resources ="%nW3e@  
      Location of additional localization properties files to load Vq[L4  
      加载附加的国际化属性文件(不包含.properties后缀) ^(,qkq'u D  
Z:F5cXt<  
struts.custom.properties > Y7nq\  
      Location of additional configuration properties files to load m(Hb! RT  
      加载附加的配置文件的位置 c*0pF=3  
96W!~w2xx  
c;\}R#  
struts.devMode wPhN_XV  
      Whether Struts is in development mode or not a%3V< "f  
      是否为struts开发模式 ;^QG>OP$  
v9Kx`{1L  
struts.dispatcher.parametersWorkaround \;"$Z 9W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ["FC   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) z'cK,psq(  
Ie3 F  
struts.enable.DynamicMethodInvocation j@OGl&'^-  
      Allows one to disable dynamic method invocation from the URL fBgW0o.Bu  
        允许动态方法调用 :]?y,e%xu,  
e;LJdd  
struts.freemarker.manager.classname y\}39Z(]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6U{&`8C  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [X >sG)0S~  
R-xWZRl>  
struts.i18n.encoding qw]:oh&G  
      The encoding to use for localization messages `1I@tz|  
      国际化信息内码 %lL^[`AR  
Z1V%pg>]*  
struts.i18n.reload 9 C-!I,  
      Whether the localization messages should automatically be reloaded $s]c'D)  
      是否国际化信息自动加载 ujF*'*@\  
EH;w <LvT  
struts.locale ,^dyS]!d$  
      The default locale for the Struts application J N5<=x5r  
      默认的国际化地区信息 {? -@`FR-  
+.i?UHNB  
struts.mapper.class  ;d"F'd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .gPE Qc+D  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +-=o16*{ !  
!ueyVE$1  
struts.multipart.maxSize b >R/=tx  
      The maximize size of a multipart request (file upload) eQBR*@x  
      multipart请求信息的最大尺寸(文件上传用) Nr.maucny  
.r~!d|  
struts.multipart.parser U1&pcwP  
      The org.apache.struts2.dispatcher.multipart. 7%aaqQ1T  
      MultiPartRequest parser implementation for a multipart request (file upload) -7_`6U2"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Aj`zT'  
_sU|<1  
{Mt4QA5iZ  
struts.multipart.saveDir Y..   
      The directory to use for storing uploaded files n[zP}YRr  
      设置存储上传文件的目录夹 chjXsq#Q^  
mmC&xZ5f  
struts.objectFactory _C` cO  
      The com.opensymphony.xwork2.ObjectFactory implementation class & i,on6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) PZn[Yb:  
;lqtw]4v  
struts.objectFactory.spring.autoWire LQVa,'  
      Whether Spring should autoWire or not r3a$n$Qw  
      是否自动绑定Spring =3rPE"@,[  
hQ!slO  
struts.objectFactory.spring.useClassCache b2OVg +3  
      Whether Spring should use its class cache or not pDr%uL  
      是否spring应该使用自身的cache r&AX  
nZ?BC O  
struts.objectTypeDeterminer ^4@~\#$z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class >*ey 7g  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !,}W|(P)  
-uZ bVd  
struts.serve.static.browserCache / d S!  
If static content served by the Struts filter should set browser caching header properties or not .k5 TQt  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [jl'5ld  
` aTkIo:ms  
struts.serve.static fm2,Mx6  
      Whether the Struts filter should serve static content or not s^KUe%am0  
      是否struts过滤器应该提供静态内容 K5U=%z  
 V"n0"\k,  
struts.tag.altSyntax eto3dJ!R  
      Whether to use the alterative syntax for the tags or not y(&JE^GfX  
      是否可以用替代的语法替代tags h?wNmLre  
'LZF^m _<<  
struts.ui.templateDir  j I  
      The directory containing UI templates \tFg10  
      UI templates的目录夹 uG1 1~uAt  
nOxCni~ T  
struts.ui.theme et";*EZJX  
      The default UI template theme #~um F%#  
      默认的UI template主题 U~z`u&/  
@ mm*S:Gt#  
struts.url.http.port D*+uH;ws  
      The HTTP port used by Struts URLs %=x|.e@J  
      设置http端口 iTgGf  
=G9%Hz5~:  
struts.url.https.port j`I[M6Qxh  
      The HTTPS port used by Struts URLs 0;z-I"N  
      设置https端口 t ?8 ?Ok  
/sY(/ J E  
struts.url.includeParams gd'#K~?  
      The default includeParams method to generate Struts URLs 4,L(  
      在url中产生 默认的includeParams SdhdXVZ  
dzDh V{  
%zE_Q  
struts.velocity.configfile NVx`'Il8 "  
      The Velocity configuration file path xQ4D| &  
      velocity配置文件路径 |+Z, 7~!  
Z qX  U  
struts.velocity.contexts 7|3Qcn7P)@  
      List of Velocity context names ^_b+o  
      velocity的context列表 BQWEC,*N  
-jsNAQ  
J{' u  
struts.velocity.manager.classname 24{!j[,q@  
      org.apache.struts2.views.velocity.VelocityManager implementation class j"o`K}C  
      org.apache.struts2.views.velocity.VelocityManager接口名 {= Dtajz  
0gPz|v>z  
struts.velocity.toolboxlocation CBx1.xL  
      The location of the Velocity toolbox 3 #R~>c2  
      velocity工具盒的位置 {\22C `9t  
struts.xslt.nocache *leQd^47  
      Whether or not XSLT templates should not be cached wVk2Fr(  
      是否XSLT模版应该被缓存 "!<Kmh5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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