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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 MD,BGO?C  
61HJ%  
struts.action.extension 5,|{|/  
      The URL extension to use to determine if the request is meant for a Struts action H,j_2JOY=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qk0cf~ gz  
h_\W7xt  
struts.configuration &rG]]IO  
      The org.apache.struts2.config.Configuration implementation class iP$>/[I  
        org.apache.struts2.config.Configuration接口名 &Fk|"f+  
X"HVK+  
struts.configuration.files />>KCmc  
      A list of configuration files automatically loaded by Struts RcO.1@2  
      struts自动加载的一个配置文件列表 [?2?7>D8  
eU]I !pI<  
struts.configuration.xml.reload F)/4#[  
      Whether to reload the XML configuration or not N1vA>(2A  
      是否加载xml配置(true,false) ^EmePkPI  
7v.O Lp  
struts.continuations.package evVxzU&  
      The package containing actions that use Rife continuations ~Q]::  
      含有actions的完整连续的package名称 9c{ ~$zJW  
o{mVXidE  
struts.custom.i18n.resources ^ b=;  
      Location of additional localization properties files to load lx?v .:zl\  
      加载附加的国际化属性文件(不包含.properties后缀) c+whpQ=01  
dWhqu68_  
struts.custom.properties #AO}JP  
      Location of additional configuration properties files to load 2G3Hi;q18  
      加载附加的配置文件的位置 ^R7X!tOq4  
I: MrX  
uOd1:\%*  
struts.devMode Ak O-PL  
      Whether Struts is in development mode or not a,fcR<  
      是否为struts开发模式 C!^;%VQ}d  
 8#1o  
struts.dispatcher.parametersWorkaround /Vx EqIK  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic AB<bW3qf(  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N\CHIsVm>  
nmuU*o L  
struts.enable.DynamicMethodInvocation AOTtAV_e  
      Allows one to disable dynamic method invocation from the URL ?PV@WrU>B  
        允许动态方法调用 'CG% PjCO  
t [G7&ovj  
struts.freemarker.manager.classname )$*B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class vP%:\u:{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 #9qX:*>h   
f&$$*a  
struts.i18n.encoding -7 Kstc-  
      The encoding to use for localization messages +p]@b  
      国际化信息内码 'S=eW_ 0/  
6&2{V? W3  
struts.i18n.reload _C'VC#Sy  
      Whether the localization messages should automatically be reloaded v Et+^3=  
      是否国际化信息自动加载 r& :v(  
OO,%zwgt  
struts.locale #N y+6XM  
      The default locale for the Struts application CT<z1)#@^  
      默认的国际化地区信息 " #U-*Z7  
'P%&*%  
struts.mapper.class %8P6l D  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @?0))@kPc3  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 RE]*fRe7#  
GW.Y= S  
struts.multipart.maxSize scrss  
      The maximize size of a multipart request (file upload) izu_KBzy  
      multipart请求信息的最大尺寸(文件上传用) JX{rum  
0 r;tI"  
struts.multipart.parser /}5)[9GC  
      The org.apache.struts2.dispatcher.multipart. Q} g"pl  
      MultiPartRequest parser implementation for a multipart request (file upload) ]^@m $O  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ;H?tcb*  
WO^]bR  
/6 y;fx  
struts.multipart.saveDir V[7D4r.j  
      The directory to use for storing uploaded files A\.{(,;kp  
      设置存储上传文件的目录夹 I3}I7oc_  
[Qqss8a  
struts.objectFactory Qv8 =CnuOT  
      The com.opensymphony.xwork2.ObjectFactory implementation class W{ZJ^QAq/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C2DAsSw  
GAh\ 6ul  
struts.objectFactory.spring.autoWire yv$hIU2X  
      Whether Spring should autoWire or not $5Rx>$~+d  
      是否自动绑定Spring G^/8^Zi  
)31xl6@  
struts.objectFactory.spring.useClassCache EKmn@S-&P  
      Whether Spring should use its class cache or not ;iUO1t)^  
      是否spring应该使用自身的cache Go[anf  
:n?rk/F  
struts.objectTypeDeterminer b~TTz`HZ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class u|Ng>lU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~cfvL*~5  
 ]l  
struts.serve.static.browserCache SUsdX[byb  
If static content served by the Struts filter should set browser caching header properties or not iU# "G" &  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }0OQm?xh  
S*WLb/R2  
struts.serve.static Rgz zbW  
      Whether the Struts filter should serve static content or not w+XwPpM0.n  
      是否struts过滤器应该提供静态内容 [ o 6  
J@ 8OU  
struts.tag.altSyntax g}*p(Tp9:  
      Whether to use the alterative syntax for the tags or not RiIafiaD  
      是否可以用替代的语法替代tags >#Bu [nD%  
zN\C  
struts.ui.templateDir KJt6d`ZN  
      The directory containing UI templates +zl [C  
      UI templates的目录夹 xb&,9Lxd|  
6ywO L'OBM  
struts.ui.theme mdcsL~R  
      The default UI template theme M{YN^ Kk  
      默认的UI template主题 (/!zHq  
!d95gq<=>  
struts.url.http.port @q{.shqo  
      The HTTP port used by Struts URLs nu[["f~  
      设置http端口 g5*?2D}dqX  
w)/~Gn676  
struts.url.https.port aT BFF  
      The HTTPS port used by Struts URLs i\o * =+{r  
      设置https端口 ZRFHs>0  
1_M}Dc+J  
struts.url.includeParams 6 8Vxy  
      The default includeParams method to generate Struts URLs iY5V4Gbo  
      在url中产生 默认的includeParams !3z ;u8W  
Mh}vr%0;)  
_93:_L  
struts.velocity.configfile 7~L_>7 ;  
      The Velocity configuration file path In;+wFu;M  
      velocity配置文件路径 ZCNO_g  
Na+h+wD.D  
struts.velocity.contexts !y$+RA7\  
      List of Velocity context names "2PT]!  
      velocity的context列表 !;Pp)SRzKG  
JX#0<U|L  
.(yJ+NU  
struts.velocity.manager.classname bfK4ps}m*  
      org.apache.struts2.views.velocity.VelocityManager implementation class caV DV  
      org.apache.struts2.views.velocity.VelocityManager接口名 OLqynY  
+HG*T[%/  
struts.velocity.toolboxlocation P4 #j;k4P  
      The location of the Velocity toolbox 3L{)Y`P  
      velocity工具盒的位置 ENFM``dV#  
struts.xslt.nocache 2{B ScI5K  
      Whether or not XSLT templates should not be cached iMQ0Sq-%1  
      是否XSLT模版应该被缓存 ,MG`} *N}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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