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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5(|ud)v  
enr mjA&3  
struts.action.extension E<4}mSn)  
      The URL extension to use to determine if the request is meant for a Struts action 68>zO %  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 t&uHn5  
lKwcT!Q4  
struts.configuration >k jJq]A2  
      The org.apache.struts2.config.Configuration implementation class W P&zF$  
        org.apache.struts2.config.Configuration接口名 "|%fA E  
E4.IS =4S  
struts.configuration.files +]zP $5_e  
      A list of configuration files automatically loaded by Struts CKur$$B  
      struts自动加载的一个配置文件列表 O^$Zz<  
m{yON&y  
struts.configuration.xml.reload .WPqK >79|  
      Whether to reload the XML configuration or not Bx)&MYY}[[  
      是否加载xml配置(true,false) 4%7*tVG  
-XyuA:pxx  
struts.continuations.package H}~^,B2;  
      The package containing actions that use Rife continuations .KSGma6]  
      含有actions的完整连续的package名称 ?!66yn  
`qgJE_GC  
struts.custom.i18n.resources /W>"G1)  
      Location of additional localization properties files to load 7L6M#B[)e5  
      加载附加的国际化属性文件(不包含.properties后缀)  zVa+5\Q  
{XCrjO|  
struts.custom.properties ~>R)H#mP7  
      Location of additional configuration properties files to load 5`DH\VD.j  
      加载附加的配置文件的位置 lq5E?B  
BkeP?X  
F"C Yrt  
struts.devMode B;Z^.3  
      Whether Struts is in development mode or not sJlKN  
      是否为struts开发模式 A%O#S<sa  
E=QQZ\w  
struts.dispatcher.parametersWorkaround /{va<CL  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /0uinx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eH8.O  
mTgn}rXk  
struts.enable.DynamicMethodInvocation @ $R a  
      Allows one to disable dynamic method invocation from the URL ;$Jvqq|T  
        允许动态方法调用 q}i87a;m  
y^rg%RV  
struts.freemarker.manager.classname #*/h*GNMs  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  B" z5j  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 hH/ O2  
?0a 0 R  
struts.i18n.encoding hdL2`5RFF  
      The encoding to use for localization messages VLN3x.BY  
      国际化信息内码 g-}sVvM  
: \OvVS/  
struts.i18n.reload 1aG}-:$t'  
      Whether the localization messages should automatically be reloaded ZM?r1Z4  
      是否国际化信息自动加载 A{%;Hd`0/  
U8KY/!XZ  
struts.locale A'8K^,<  
      The default locale for the Struts application dFFqs&cQ  
      默认的国际化地区信息 cF vx* n  
#VE$C3<  
struts.mapper.class {  9$Q|XK  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class *% *^a\2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -c@ 5qe>  
PgAfR:Y!  
struts.multipart.maxSize Ke'2"VkQt  
      The maximize size of a multipart request (file upload) `.g8JC\_m  
      multipart请求信息的最大尺寸(文件上传用) #^ #i]{g  
uyj*v]AE'  
struts.multipart.parser KOx#LGz  
      The org.apache.struts2.dispatcher.multipart. 9Q/!%y%5  
      MultiPartRequest parser implementation for a multipart request (file upload) .*blM1+6i/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *Rh .s!@4  
_'U?!  
E;H(jVZ  
struts.multipart.saveDir n #I}!x>2  
      The directory to use for storing uploaded files Kj 8 W  
      设置存储上传文件的目录夹 f:5/y^M&  
,?6m"ov4(  
struts.objectFactory 5I,X#}K[  
      The com.opensymphony.xwork2.ObjectFactory implementation class ew$Z5N:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) x?'%  
X)OP316yx  
struts.objectFactory.spring.autoWire L? +|%[  
      Whether Spring should autoWire or not -RQQ|:O$  
      是否自动绑定Spring P;L Z!I  
MA# !<b('  
struts.objectFactory.spring.useClassCache sLp LY1X  
      Whether Spring should use its class cache or not rC `s;w  
      是否spring应该使用自身的cache oJT@'{;*z  
B [ ka@z7  
struts.objectTypeDeterminer s.)w A`&&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T+h{Aeg  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 FF~4y>R7u  
neFno5dj  
struts.serve.static.browserCache {{%8|+B  
If static content served by the Struts filter should set browser caching header properties or not MToQ8qKs  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .G~5F- 8'  
'LLx$y.Ei[  
struts.serve.static #%"TU,[+  
      Whether the Struts filter should serve static content or not UO<claV  
      是否struts过滤器应该提供静态内容 R7c)C8/~  
*AR<DXE L  
struts.tag.altSyntax -yGm^EwP  
      Whether to use the alterative syntax for the tags or not 1>y=i+T/b  
      是否可以用替代的语法替代tags /,Id_TTCO  
'a?.X _t  
struts.ui.templateDir $ow`)?sh  
      The directory containing UI templates F)kLlsp  
      UI templates的目录夹 <9tG_  
vXQmEIm  
struts.ui.theme <# r.}T.l  
      The default UI template theme 7h/Q;P5  
      默认的UI template主题 0]W]#X4A  
+STzG /9#  
struts.url.http.port 72vGfT2HtZ  
      The HTTP port used by Struts URLs `1<3Hu_  
      设置http端口 ,ri--<  
-L?% o_  
struts.url.https.port 8z8SwWS?  
      The HTTPS port used by Struts URLs  .OS?^\  
      设置https端口 )}\@BtcjA]  
)ZyuF(C&  
struts.url.includeParams !>Y\&zA  
      The default includeParams method to generate Struts URLs ]mo<qWRc>p  
      在url中产生 默认的includeParams  Rha3  
!&jgcw/E  
jI<WzvhYG  
struts.velocity.configfile |0R%!v(,  
      The Velocity configuration file path .x?zky^  
      velocity配置文件路径 #n)W  
T KL(97)<  
struts.velocity.contexts [mzF)/[_2  
      List of Velocity context names Mv`LF  
      velocity的context列表 L9?/ -@M  
2X c  
E(kb!Rz  
struts.velocity.manager.classname p<fgUVR  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0QH3,Ps1C  
      org.apache.struts2.views.velocity.VelocityManager接口名 u4M2Ec  
C{i;spc!bi  
struts.velocity.toolboxlocation M #=5u`h  
      The location of the Velocity toolbox ~2DV{dyj  
      velocity工具盒的位置 a;T[%'in  
struts.xslt.nocache y{I[}$k  
      Whether or not XSLT templates should not be cached 8 E+C:"  
      是否XSLT模版应该被缓存 [P c[{(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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