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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 A/ppr.  
$OEhdz&Fi  
struts.action.extension Q'-g+aN  
      The URL extension to use to determine if the request is meant for a Struts action :: IAXGH)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 oAaUXkQE  
e(nT2E  
struts.configuration #+$pE@u7A  
      The org.apache.struts2.config.Configuration implementation class BPRhGG|9j  
        org.apache.struts2.config.Configuration接口名 *$+k-BV  
,m ^q >  
struts.configuration.files .3Ex=aQcX  
      A list of configuration files automatically loaded by Struts "Z xM,kI  
      struts自动加载的一个配置文件列表 5-rG8  
G-FeDP  
struts.configuration.xml.reload 5X"y46i,H  
      Whether to reload the XML configuration or not ErZYPl  
      是否加载xml配置(true,false) 3%`asCW$  
+<qmVW^X  
struts.continuations.package P]V/<8o.53  
      The package containing actions that use Rife continuations YT:])[gVV  
      含有actions的完整连续的package名称 2Lravb3  
e'%"G{(D  
struts.custom.i18n.resources PEA<H0  
      Location of additional localization properties files to load _19x`J3  
      加载附加的国际化属性文件(不包含.properties后缀) j;%RV)e  
;&="aD  
struts.custom.properties )X-~+X91 S  
      Location of additional configuration properties files to load Iu(j"b#  
      加载附加的配置文件的位置 eYSVAj  
N=4`jy =  
QN!.~>  
struts.devMode qU!xh )  
      Whether Struts is in development mode or not }~/u%vI@M5  
      是否为struts开发模式 Wk3R6 V  
(H=7(  
struts.dispatcher.parametersWorkaround z +NxO !y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4q%hn3\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m3o+iYkMD  
WEX6I 16  
struts.enable.DynamicMethodInvocation M@)^*=0H  
      Allows one to disable dynamic method invocation from the URL [+7 Nu  
        允许动态方法调用 f( =3'wQ  
H|V q  
struts.freemarker.manager.classname KBVW <;C$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R^t )~\d  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2Mqac:L  
Fh)`A5#  
struts.i18n.encoding wD9Gl.uQ  
      The encoding to use for localization messages c{7<z9U  
      国际化信息内码 . Y@)3  
[}p/pj=  
struts.i18n.reload e* 2ay1c  
      Whether the localization messages should automatically be reloaded OXT'$]p.*  
      是否国际化信息自动加载 s+mNr3  
t?bc$,S"\(  
struts.locale y~ubH{O#  
      The default locale for the Struts application -v]v m3Na  
      默认的国际化地区信息 ds> V|}f[  
# MpW\yX  
struts.mapper.class pS [nKcyj  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class z>n<+tso  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2y_R05O0  
M{sn{  
struts.multipart.maxSize >$^v@jf  
      The maximize size of a multipart request (file upload) =^nb-9.  
      multipart请求信息的最大尺寸(文件上传用) e G8Zn<:s  
s> d /9 b  
struts.multipart.parser X9:4oMux7  
      The org.apache.struts2.dispatcher.multipart. g7>p,  
      MultiPartRequest parser implementation for a multipart request (file upload) 8Xo`S<8VS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) s#f6qj  
I @sXmC2$\  
CqF= 5z:A  
struts.multipart.saveDir ]J`yh$a  
      The directory to use for storing uploaded files t,CC~  
      设置存储上传文件的目录夹 <OYy ;s  
oh>X/uj  
struts.objectFactory DM*GvBdR  
      The com.opensymphony.xwork2.ObjectFactory implementation class WziX1%0$n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) gOk<pRcTb=  
|dP[_nh?  
struts.objectFactory.spring.autoWire kaKV{;UM  
      Whether Spring should autoWire or not [ij8h,[~]  
      是否自动绑定Spring .JkcCEe{G  
D7'P^*4_B  
struts.objectFactory.spring.useClassCache ^;KL`  
      Whether Spring should use its class cache or not  (C1@f!Z  
      是否spring应该使用自身的cache >pS @;t'  
+y}4^3Vx^  
struts.objectTypeDeterminer `#v(MK{9+V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C`)n\?:Sth  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 !21#NCw  
{9 PeBc  
struts.serve.static.browserCache SfHs,y6  
If static content served by the Struts filter should set browser caching header properties or not M@R_t(&=   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 x37pj)i/  
L%3m_'6QP  
struts.serve.static xt{f+c@P  
      Whether the Struts filter should serve static content or not X?B9Z8  
      是否struts过滤器应该提供静态内容 NZj_7j|o9  
^:c:~F6J  
struts.tag.altSyntax h[Hn*g  
      Whether to use the alterative syntax for the tags or not M=HP!hn  
      是否可以用替代的语法替代tags MV+S.`R  
)JYt zc  
struts.ui.templateDir #gHs!b-g@  
      The directory containing UI templates |?a 4Nl?  
      UI templates的目录夹 FN-j@  
]GSs{'Uh B  
struts.ui.theme !'ylh8}  
      The default UI template theme zVSbEcr,C~  
      默认的UI template主题 :yLSLN  
X?RnP3t~  
struts.url.http.port ^5"2s:vP  
      The HTTP port used by Struts URLs n$z}DE5 #  
      设置http端口 C>1fL6ct  
5)}3C_pmW  
struts.url.https.port )ifEgBT  
      The HTTPS port used by Struts URLs 2f;fdzjk8K  
      设置https端口 +`@)87O  
'[XtARtY`  
struts.url.includeParams L `7~~  
      The default includeParams method to generate Struts URLs ,g2oqq ?  
      在url中产生 默认的includeParams .:<-E%  
!3E %u$-}  
cqr4P`Oj  
struts.velocity.configfile 9}\{0;9  
      The Velocity configuration file path 9`3%o9V9Y  
      velocity配置文件路径 |VY+!  
xj1FCT2  
struts.velocity.contexts aN87^[  
      List of Velocity context names K1vm [Ne  
      velocity的context列表 RsY7F;  
`#X\@?'5  
"F,d}3}  
struts.velocity.manager.classname (k@%04c  
      org.apache.struts2.views.velocity.VelocityManager implementation class x{$~u2|  
      org.apache.struts2.views.velocity.VelocityManager接口名 2g)W-M  
L`fDc  
struts.velocity.toolboxlocation pi'w40!:  
      The location of the Velocity toolbox @kq~q;F  
      velocity工具盒的位置 ~ jR:oN  
struts.xslt.nocache ` 0YI?$G1  
      Whether or not XSLT templates should not be cached ZTq"SQ>ym  
      是否XSLT模版应该被缓存 c4T8eTKU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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