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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9Rnypzds  
Cku"vVw,  
struts.action.extension bP&QFc  
      The URL extension to use to determine if the request is meant for a Struts action ixd sz\<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0D s3wNz  
20;9XJmjl  
struts.configuration `r`8N6NQ&]  
      The org.apache.struts2.config.Configuration implementation class }'$PYAf6  
        org.apache.struts2.config.Configuration接口名 KhHFJo[8sf  
lT^su'+bk  
struts.configuration.files 52e>f5m.  
      A list of configuration files automatically loaded by Struts <W"W13*j!  
      struts自动加载的一个配置文件列表 O,Q.-  
br[iRda@  
struts.configuration.xml.reload Rm} ym9  
      Whether to reload the XML configuration or not ^}_Ka//k  
      是否加载xml配置(true,false) hzqJ!  
U#` e~d t<  
struts.continuations.package mLX/xM/T?/  
      The package containing actions that use Rife continuations hy5[ L`B  
      含有actions的完整连续的package名称 5I622d  
s<9g3Gh  
struts.custom.i18n.resources 6l]X{A.  
      Location of additional localization properties files to load A9$x8x*Lt  
      加载附加的国际化属性文件(不包含.properties后缀) o$rjGa l  
k {*QU(  
struts.custom.properties ysW})#7X  
      Location of additional configuration properties files to load >NRppPqL  
      加载附加的配置文件的位置 ky2 bj}"p9  
ci~#G[_$S  
^`&'u_B!+  
struts.devMode r7m~.M+W"  
      Whether Struts is in development mode or not CJ IuMsZ  
      是否为struts开发模式 H@Z_P p?  
;)(g$r^_i  
struts.dispatcher.parametersWorkaround D@O `"2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4ba*Nc*Yc  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) cMw<3u\  
k{}> *pCU  
struts.enable.DynamicMethodInvocation pM?;QG;jA  
      Allows one to disable dynamic method invocation from the URL JE?rp1.  
        允许动态方法调用 jx: IK  
q< JCgO-F<  
struts.freemarker.manager.classname $TI^8 3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 4b8G 1fm  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9L=mS  
7*!7EBb  
struts.i18n.encoding  Aqy w  
      The encoding to use for localization messages 1)ue-(o5  
      国际化信息内码 v ,8;: sD  
<RGH+4LF  
struts.i18n.reload =@HS  
      Whether the localization messages should automatically be reloaded /eF@a!  
      是否国际化信息自动加载 mptFd  
/Z:j:l  
struts.locale #,%bW[L<N  
      The default locale for the Struts application ?d7,0Ex P  
      默认的国际化地区信息 PsC")JS  
p}1i[//S  
struts.mapper.class C= ~c`V5>r  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =&}@GsXdo  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U'fP  
{q-&!l|  
struts.multipart.maxSize J2bvHxb Rd  
      The maximize size of a multipart request (file upload) j#l=%H  
      multipart请求信息的最大尺寸(文件上传用) X3.zNHN5  
Fc~G*Gz~Z|  
struts.multipart.parser nf.Ox.kM)  
      The org.apache.struts2.dispatcher.multipart. Ar`+x5  
      MultiPartRequest parser implementation for a multipart request (file upload) cHjQwl  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )PX VR T  
AkhG~L  
(8d uV  
struts.multipart.saveDir 9LDv?kYr  
      The directory to use for storing uploaded files $D bnPZ2$  
      设置存储上传文件的目录夹 17LhgZs&  
W0qR? jc  
struts.objectFactory rq+_ [!  
      The com.opensymphony.xwork2.ObjectFactory implementation class _olQ;{ U:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) y>I2}P  
tW\yt~q,  
struts.objectFactory.spring.autoWire "r9Rr_, >  
      Whether Spring should autoWire or not  YKyno?m  
      是否自动绑定Spring ;J%:DD  
o`bch? ]  
struts.objectFactory.spring.useClassCache F-_u/C]  
      Whether Spring should use its class cache or not g6GkA.!X$  
      是否spring应该使用自身的cache '!HTE` Aj  
po| Ux`u  
struts.objectTypeDeterminer `2lS@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n6/Ous  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (Ou%0 KW  
GAz -yCJp  
struts.serve.static.browserCache lA^1}  
If static content served by the Struts filter should set browser caching header properties or not ] ; w 2YR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P`Np +E#I  
%Bs. XW,  
struts.serve.static hlzB cz*  
      Whether the Struts filter should serve static content or not ]3KeAJ  
      是否struts过滤器应该提供静态内容 V=O52?8  
~iL^KeAp   
struts.tag.altSyntax uo9#(6  
      Whether to use the alterative syntax for the tags or not h0{X$&:  
      是否可以用替代的语法替代tags dSM\:/t  
O0  'iq^g  
struts.ui.templateDir &V].,12x  
      The directory containing UI templates yW_yHSx;  
      UI templates的目录夹 I2Xd"RHN  
@\K[WqF$$q  
struts.ui.theme g'"~'  
      The default UI template theme #}`sfaT  
      默认的UI template主题 x~5uc$  
R~vGaxZ$  
struts.url.http.port ~Amq1KU*Z  
      The HTTP port used by Struts URLs BoD{fg  
      设置http端口 D6"=2XR4n  
-l^<[%  
struts.url.https.port (MwRe?Ih  
      The HTTPS port used by Struts URLs ,}oAc  
      设置https端口 &f*o rM:  
b^o4Q[  
struts.url.includeParams b8mH.g&l  
      The default includeParams method to generate Struts URLs )U/jD  
      在url中产生 默认的includeParams R9J!}az'  
ZpTDM1ro  
#Hw|P  
struts.velocity.configfile ?CpVA  
      The Velocity configuration file path YT\`R  
      velocity配置文件路径 ;%e&6  
?nU<cxh  
struts.velocity.contexts + G@N  
      List of Velocity context names zl0{lV  
      velocity的context列表 Ak'=l;  
I2 [U#4n  
(s};MdXIz  
struts.velocity.manager.classname ,AP&N'  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9YzV48su#  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~?Zib1f)  
PR:k--)D  
struts.velocity.toolboxlocation bo0U  
      The location of the Velocity toolbox Pv -4psdw  
      velocity工具盒的位置 HD j6E"  
struts.xslt.nocache FI.te3i?7  
      Whether or not XSLT templates should not be cached O?uICnmi6  
      是否XSLT模版应该被缓存 RvzZg %)  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八