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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 X'qU*Eo  
ftF@Wq1f  
struts.action.extension / :n#`o=;  
      The URL extension to use to determine if the request is meant for a Struts action F 70R1OYU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 f V'ZsJ N  
Gvr@|{k  
struts.configuration EpX&R,Rxk  
      The org.apache.struts2.config.Configuration implementation class FK5 <6n,U  
        org.apache.struts2.config.Configuration接口名 J\M>33zu  
A* /Hj TX  
struts.configuration.files d! LE{  
      A list of configuration files automatically loaded by Struts De(Hw& IV  
      struts自动加载的一个配置文件列表 DuHu\>f<S  
!74S  
struts.configuration.xml.reload W|g4z7Pb  
      Whether to reload the XML configuration or not 7M<'/s  
      是否加载xml配置(true,false) F6{bjv2A  
/Id%_,}Kb  
struts.continuations.package [.uG5%fa  
      The package containing actions that use Rife continuations v63"^%LX  
      含有actions的完整连续的package名称 8Y7Q+p|O  
>^*+iEe  
struts.custom.i18n.resources M 4?ig}kh  
      Location of additional localization properties files to load W)f/0QX}W  
      加载附加的国际化属性文件(不包含.properties后缀) @3C>BLI8+  
=t H:,SH  
struts.custom.properties 5?F__Hx*2  
      Location of additional configuration properties files to load Bx4w)9+3  
      加载附加的配置文件的位置 U_n9]Z  
.jk@IL  
9#MBaO8_"  
struts.devMode zZ` _D|<m  
      Whether Struts is in development mode or not ~U@;gLoD  
      是否为struts开发模式 n4R(.N00  
"q.\>MCv  
struts.dispatcher.parametersWorkaround J2xw) +  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~ijVmWNk  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) B=^)Ub5'  
ov_j4 j>6P  
struts.enable.DynamicMethodInvocation [8=vv7wS  
      Allows one to disable dynamic method invocation from the URL )E-inHD /  
        允许动态方法调用 6&!PmKFO.  
Pu*6"}#~  
struts.freemarker.manager.classname = 's(|  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F.=2u"[*&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 sE Q=dcK  
6MT1$7|P&x  
struts.i18n.encoding rzm:Yx  
      The encoding to use for localization messages 4O)1uF;  
      国际化信息内码 n O\"HLM  
0dGAP  
struts.i18n.reload 5n9B?T8C  
      Whether the localization messages should automatically be reloaded P'Ux%Q+B>  
      是否国际化信息自动加载 UJ CYs`y  
(2^gVz=j  
struts.locale 2[O&NdP\Zk  
      The default locale for the Struts application /2=#t-p+  
      默认的国际化地区信息 {pnS  Q  
3@M|m<_R$  
struts.mapper.class { + Zd*)M[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hp5|@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 '+?"iVVo  
ZK@N5/H(  
struts.multipart.maxSize 0"\H^  
      The maximize size of a multipart request (file upload) @M_oH:GV  
      multipart请求信息的最大尺寸(文件上传用) hPUYyjXPB  
Rld!,t  
struts.multipart.parser y)W@{@{kl  
      The org.apache.struts2.dispatcher.multipart. |yQZt/*SOZ  
      MultiPartRequest parser implementation for a multipart request (file upload) `Nb[G)Xh  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) XkXHGDEf1  
SEGri#s  
B"TAjB& *  
struts.multipart.saveDir P(,p'I;j  
      The directory to use for storing uploaded files DVB{2~7 4  
      设置存储上传文件的目录夹 -ZRO@&tMD  
&:dH,  
struts.objectFactory Q;43[1&3w  
      The com.opensymphony.xwork2.ObjectFactory implementation class <b`E_  
      com.opensymphony.xwork2.ObjectFactory接口(spring) rA5=dJ"I  
x7jC)M<k0  
struts.objectFactory.spring.autoWire Rn9m]x  
      Whether Spring should autoWire or not (`c [#0=n  
      是否自动绑定Spring -bT)]gA2  
%yW3VL  
struts.objectFactory.spring.useClassCache D(AXk8Vub  
      Whether Spring should use its class cache or not C/vI EYG4  
      是否spring应该使用自身的cache i+S) K  
YW_Q\|p]M  
struts.objectTypeDeterminer 1m:XR0P  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class aTqd@},?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 V )x$|!(  
D6>2s\:>vp  
struts.serve.static.browserCache GVYBa_gx  
If static content served by the Struts filter should set browser caching header properties or not \]2]/=2tLd  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \Zqng  
mpuq 9)6  
struts.serve.static YaKeq5%y  
      Whether the Struts filter should serve static content or not TgmnG/Z  
      是否struts过滤器应该提供静态内容 M<.d8?p )  
QS` PpyBkd  
struts.tag.altSyntax jV>raCK_  
      Whether to use the alterative syntax for the tags or not B8V>NvE~o  
      是否可以用替代的语法替代tags A+"ia1p,}  
UEM(@zD]  
struts.ui.templateDir GqaDL3Niqs  
      The directory containing UI templates kb{]>3Y"  
      UI templates的目录夹 %l}D.ml  
sk,ox~0R  
struts.ui.theme mpI5J'>]  
      The default UI template theme g`vny)\7/  
      默认的UI template主题 aT)BR?OYSJ  
*W0y: 3dB3  
struts.url.http.port kI 4MiK  
      The HTTP port used by Struts URLs jkiFLtB@V  
      设置http端口 bx{$Y_L+p  
![YX]+jqNp  
struts.url.https.port @eD):Y  
      The HTTPS port used by Struts URLs C&*oI =6  
      设置https端口 VY;{/.Sa  
pQ=>.JU  
struts.url.includeParams ;V*R*R  
      The default includeParams method to generate Struts URLs }XV+gyG=@  
      在url中产生 默认的includeParams #(#Wv?r6  
4e~A1-  
#A1Z'y0  
struts.velocity.configfile %Y<|;0v  
      The Velocity configuration file path =j5MFX.-o  
      velocity配置文件路径 -Zf@VW,NI  
s+,OxRVw(  
struts.velocity.contexts Zhh2v>QOy  
      List of Velocity context names 8/i!' 0r\  
      velocity的context列表 M=F xB;v  
h]+C.Eqnt#  
P7nc7a  
struts.velocity.manager.classname M dZ&A}S  
      org.apache.struts2.views.velocity.VelocityManager implementation class =(NB%}  
      org.apache.struts2.views.velocity.VelocityManager接口名 -+ SF  
4wa`<H&S5  
struts.velocity.toolboxlocation QDs^Ije  
      The location of the Velocity toolbox iOR_[y,  
      velocity工具盒的位置 F(k.,0Nc  
struts.xslt.nocache +BVym~*^  
      Whether or not XSLT templates should not be cached zLD0RBj7p  
      是否XSLT模版应该被缓存 T (OW  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五