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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =kohQ d.n  
~^=QBwDW8N  
struts.action.extension mY2 Ubn*  
      The URL extension to use to determine if the request is meant for a Struts action XbYW,a@w2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gPY2Bnw;l  
D52ELr7  
struts.configuration swuW6p  
      The org.apache.struts2.config.Configuration implementation class ro7\}O:I  
        org.apache.struts2.config.Configuration接口名 R@t?!`f!+  
UO8#8  
struts.configuration.files Z2`(UbG}  
      A list of configuration files automatically loaded by Struts o <8L, u(U  
      struts自动加载的一个配置文件列表 $zq`hI!1  
9)s=%dL  
struts.configuration.xml.reload "YHqls}c  
      Whether to reload the XML configuration or not 31k.{dnm  
      是否加载xml配置(true,false) h9LA&!  
%v:9_nwO)  
struts.continuations.package *nU7v3D  
      The package containing actions that use Rife continuations d@pD5n=m;  
      含有actions的完整连续的package名称 21M@z(q*  
^3IO.`|  
struts.custom.i18n.resources $@[6jy  
      Location of additional localization properties files to load ?AX./LI  
      加载附加的国际化属性文件(不包含.properties后缀) # 9Z];<g  
( du<0J|PT  
struts.custom.properties SfQ ,uD6  
      Location of additional configuration properties files to load )(b]-  )  
      加载附加的配置文件的位置 ~oz8B^7i;  
fb4/LVg'J  
e?3 S0}  
struts.devMode Rer\='  
      Whether Struts is in development mode or not UyBI;k^]  
      是否为struts开发模式 W"YFx*W  
t.c XrX`k  
struts.dispatcher.parametersWorkaround zS18Kl  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic j*<H18^G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) U aj8}7v  
*^ncb,1+i  
struts.enable.DynamicMethodInvocation &(-+?*A`E  
      Allows one to disable dynamic method invocation from the URL WMZ&LlB%  
        允许动态方法调用 BdB/`X*  
)U e9:e  
struts.freemarker.manager.classname > y"V%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class aGx`ec*t  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5`*S'W}\>  
K+TRt"W8&s  
struts.i18n.encoding $fV47;U'*  
      The encoding to use for localization messages ]$!-%pNv  
      国际化信息内码 {LVii}<  
f {AbCi  
struts.i18n.reload C^XJE1D.  
      Whether the localization messages should automatically be reloaded #g\O*oYaw  
      是否国际化信息自动加载 >7B6iR6N  
su>GeJiPW  
struts.locale :84fd\It4  
      The default locale for the Struts application f"q='B9_T\  
      默认的国际化地区信息 Wd?(B4{  
Q3u P7j  
struts.mapper.class c?"#x-<1s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'J#u ;KJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 IM|VGT0  
i-~HT4iw  
struts.multipart.maxSize z{Z'2,#  
      The maximize size of a multipart request (file upload) 4*d$o=wa  
      multipart请求信息的最大尺寸(文件上传用) {<o_6 z`$  
yNi/JM  
struts.multipart.parser p)RASIB  
      The org.apache.struts2.dispatcher.multipart. fI;6!M#  
      MultiPartRequest parser implementation for a multipart request (file upload) T?{"T/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5ycccMx0V  
w`&~m:R  
"detDB   
struts.multipart.saveDir k?3NF:Yy7  
      The directory to use for storing uploaded files vdAaqM6D  
      设置存储上传文件的目录夹 ob05:D_bc9  
}p$>V,u  
struts.objectFactory q asbK:}  
      The com.opensymphony.xwork2.ObjectFactory implementation class !#` .Mv Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) gUwg\>UC  
b/HhGA0  
struts.objectFactory.spring.autoWire D/^yAfI  
      Whether Spring should autoWire or not |jH- bm  
      是否自动绑定Spring kL\ FY  
S*VG;m #  
struts.objectFactory.spring.useClassCache [KMW *pA7  
      Whether Spring should use its class cache or not *,q ?mO  
      是否spring应该使用自身的cache ?8X;F"Ba  
NK;%c-r0v7  
struts.objectTypeDeterminer W0J d2*]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class XdjM/hB{fD  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Md mS  
ER<LP@3k  
struts.serve.static.browserCache G?)NDRM  
If static content served by the Struts filter should set browser caching header properties or not n*{aN}auJ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tSran  
9`]Gosz  
struts.serve.static 0+%{1JkJq  
      Whether the Struts filter should serve static content or not q">lP (t  
      是否struts过滤器应该提供静态内容 *UhYX)J  
F9p'|-   
struts.tag.altSyntax s9+Rq*Qd  
      Whether to use the alterative syntax for the tags or not 4<[,"<G~3  
      是否可以用替代的语法替代tags jcD_<WSe  
_ dEc? R}  
struts.ui.templateDir f]Z%,'1^  
      The directory containing UI templates z)p( l!  
      UI templates的目录夹 Evu`e=LaG  
>?>@&A/  
struts.ui.theme X)^eaw]Q0  
      The default UI template theme ZFwUau  
      默认的UI template主题 7.mY@  
p^QZGu-.W  
struts.url.http.port V,:^@ 7d  
      The HTTP port used by Struts URLs E#}OIZ\S  
      设置http端口 m1H|C3u8  
kT)[<`p  
struts.url.https.port |2t g3m@  
      The HTTPS port used by Struts URLs ehCGu( =  
      设置https端口 0%J0.USkM7  
BV)o F2b:  
struts.url.includeParams ~ +DPq|-O  
      The default includeParams method to generate Struts URLs Y\s ge  
      在url中产生 默认的includeParams N~NUBEKcp  
:jL>sGvBv  
=D-u".{  
struts.velocity.configfile r+ v?~m!  
      The Velocity configuration file path 0C!f/EZK  
      velocity配置文件路径 ]M3V]m  
!UHWCJ< <w  
struts.velocity.contexts FK;3atrz  
      List of Velocity context names ozaM!ee\z  
      velocity的context列表 \jA#RF.W  
RfoEHN  
4# +i\H`  
struts.velocity.manager.classname WSEw:pln  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9-:\ NH^;  
      org.apache.struts2.views.velocity.VelocityManager接口名 %lsRj)n  
7:/gO~g I  
struts.velocity.toolboxlocation LH}]& >F  
      The location of the Velocity toolbox '#<4oW\]  
      velocity工具盒的位置  kg &R  
struts.xslt.nocache Ymvd3>_  
      Whether or not XSLT templates should not be cached a+mrsyM  
      是否XSLT模版应该被缓存 w?#s)z4}g  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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