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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i;C` .+  
F<p`)?  
struts.action.extension Rh~b,"  
      The URL extension to use to determine if the request is meant for a Struts action 'a+^= c  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &2XH.$Q  
"y"oV[`  
struts.configuration "i#g [x  
      The org.apache.struts2.config.Configuration implementation class &t<g K D  
        org.apache.struts2.config.Configuration接口名 )e3w-es~4  
 hO$Gx*e$  
struts.configuration.files 5|~g2Zz{;  
      A list of configuration files automatically loaded by Struts vFdI?(c-  
      struts自动加载的一个配置文件列表 @H#Fzoo.  
Sdmz (R  
struts.configuration.xml.reload , p}:?uR  
      Whether to reload the XML configuration or not q1u$Sm  
      是否加载xml配置(true,false) V~KWy@7  
su=MMr>  
struts.continuations.package Yh1nXkA!V  
      The package containing actions that use Rife continuations {f`Y\_r$@  
      含有actions的完整连续的package名称 9Jh&C5\\  
P!f0&W  
struts.custom.i18n.resources Za!KM  
      Location of additional localization properties files to load %!A:Ka!m.  
      加载附加的国际化属性文件(不包含.properties后缀) C=o-3w  
k;cX,*DIn  
struts.custom.properties TPBQfp%HU  
      Location of additional configuration properties files to load 9yTdbpY  
      加载附加的配置文件的位置  ;303fS  
.^9khK J;  
G?Gf,{#K  
struts.devMode 9HFEp-"  
      Whether Struts is in development mode or not T.I'c6|  
      是否为struts开发模式 &PV%=/ -J  
$Xt""mlQ  
struts.dispatcher.parametersWorkaround 4_VgJ9@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic v]on0Pi!  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 8*/;W&7y  
<B|b'XVH2  
struts.enable.DynamicMethodInvocation Ln&~t(7  
      Allows one to disable dynamic method invocation from the URL LWqKSNE;  
        允许动态方法调用 T:kliM"z  
qB_s<cpn>  
struts.freemarker.manager.classname dF51_Kk  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S'|PA7a}h  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X);'[/]E*  
b(|&e  
struts.i18n.encoding ~fD\=- S1  
      The encoding to use for localization messages ",aNYJR>*!  
      国际化信息内码 9>- 6Y  
Lb Jf5xdi  
struts.i18n.reload ^g(qP tQ  
      Whether the localization messages should automatically be reloaded Mn&_R{{=  
      是否国际化信息自动加载 $t& o(]m  
6 M:?W"  
struts.locale L"9Z{o7  
      The default locale for the Struts application KNN{2thy `  
      默认的国际化地区信息 ^`lDw  
* FEJ5x  
struts.mapper.class RYvdfj.ij  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .zdaY, U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~ :{mKc  
O, eoO,gB  
struts.multipart.maxSize ^#e|^]] L  
      The maximize size of a multipart request (file upload) 6B@e[VtG$  
      multipart请求信息的最大尺寸(文件上传用) egA* x*8  
{06-h %qr  
struts.multipart.parser ?QF xds  
      The org.apache.struts2.dispatcher.multipart. Zl9  
      MultiPartRequest parser implementation for a multipart request (file upload) j<!dpt  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) qm/>\4eLt  
 $L uU  
$2*_7_Qb  
struts.multipart.saveDir qY%|Uo  
      The directory to use for storing uploaded files 4=^Ha%l  
      设置存储上传文件的目录夹 gzhIOeY  
$ s1/Rmw  
struts.objectFactory DFZ0~+rh  
      The com.opensymphony.xwork2.ObjectFactory implementation class "@VYJ7.1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1O0)+9T82  
yy/'B:g  
struts.objectFactory.spring.autoWire ^zT=qB l  
      Whether Spring should autoWire or not 7P2(q  
      是否自动绑定Spring _oa*E2VN  
|PYyhY  
struts.objectFactory.spring.useClassCache WPr:d  
      Whether Spring should use its class cache or not \6 JY#%  
      是否spring应该使用自身的cache q0ab]g+  
#'f5owk>,  
struts.objectTypeDeterminer iu<Tv,{8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class l%Ke>9C  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X4\T=Q?uLx  
aUa+]H[  
struts.serve.static.browserCache Qh8pOUD0l}  
If static content served by the Struts filter should set browser caching header properties or not T[e+iv<8j  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hFycSu  
/YPG_,lRA  
struts.serve.static I _Lm[  
      Whether the Struts filter should serve static content or not w#a`k9y  
      是否struts过滤器应该提供静态内容 T; [T`  
J3oUtu  
struts.tag.altSyntax {G3Ok++hc  
      Whether to use the alterative syntax for the tags or not pheu48/f  
      是否可以用替代的语法替代tags l{3zlXk3z  
cr0/.Zv)  
struts.ui.templateDir 5FB3w48  
      The directory containing UI templates hJ%$Te  
      UI templates的目录夹 v0\M$@N[  
cCZ$TH  
struts.ui.theme R(_WTs9x4  
      The default UI template theme .#tA .%  
      默认的UI template主题 p;, V  
YVF@v-v-,  
struts.url.http.port  = v?V  
      The HTTP port used by Struts URLs U3]/ NV*   
      设置http端口 0wqw5KC  
s+ *LVfau  
struts.url.https.port 9_svtO]P  
      The HTTPS port used by Struts URLs Kn1u1@&Xd  
      设置https端口 6&~Z3|<e  
&a\w+  
struts.url.includeParams IAb.Z+ig  
      The default includeParams method to generate Struts URLs &uaSp, L  
      在url中产生 默认的includeParams leSBR,C  
,f ?B((l  
KDP& I J  
struts.velocity.configfile beYGP  
      The Velocity configuration file path D=D.s)ns*  
      velocity配置文件路径 9ec#'i=  
lxD~l#)^ln  
struts.velocity.contexts M`=\ijUwN  
      List of Velocity context names $b^niL  
      velocity的context列表 uJ1oo| sn  
Pu!C,7vUQ  
K",Xe>  
struts.velocity.manager.classname 1 Cz}|#U  
      org.apache.struts2.views.velocity.VelocityManager implementation class {=!BzNMj  
      org.apache.struts2.views.velocity.VelocityManager接口名 8&+u+@H  
$mq+/|bn  
struts.velocity.toolboxlocation O]="ggq&  
      The location of the Velocity toolbox 3S>rc0]6  
      velocity工具盒的位置 %qrUP\rn  
struts.xslt.nocache h3\(660>$  
      Whether or not XSLT templates should not be cached D}ZPgt#   
      是否XSLT模版应该被缓存 nC$ c.K'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五