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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 vXRY/Zzj1  
M:{Aq&.  
struts.action.extension *<!q@r<d  
      The URL extension to use to determine if the request is meant for a Struts action V^&*y+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5.oIyC^Ik  
1kKfFpN  
struts.configuration g+4y^x(X@1  
      The org.apache.struts2.config.Configuration implementation class y/c3x*l.xL  
        org.apache.struts2.config.Configuration接口名 <JH,B91  
?KOw~-u  
struts.configuration.files jT =|!,Pn  
      A list of configuration files automatically loaded by Struts l"%80"zO  
      struts自动加载的一个配置文件列表 3,Yr%`/5'  
Uu5(/vw]  
struts.configuration.xml.reload @$T$hMl  
      Whether to reload the XML configuration or not `vgaX,F*  
      是否加载xml配置(true,false) [GI~ &  
sqtz^K ROM  
struts.continuations.package U]~@_j  
      The package containing actions that use Rife continuations Tk4>Jb  
      含有actions的完整连续的package名称 Lr D@QBT  
j}eb _K+I  
struts.custom.i18n.resources DkEv1]6JI_  
      Location of additional localization properties files to load L;%w{,Ji  
      加载附加的国际化属性文件(不包含.properties后缀) xNf}f 9 l  
!43 !JfD  
struts.custom.properties l^9gFp~I  
      Location of additional configuration properties files to load NBY|U{.g  
      加载附加的配置文件的位置 qrYbc~jI7  
uW(-?  
^ls@Gr7`P  
struts.devMode HDhISPg  
      Whether Struts is in development mode or not 9+^)?JUYll  
      是否为struts开发模式 5 tQz!M  
;_e9v,  
struts.dispatcher.parametersWorkaround Td|u@l4B  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GQn:lu3j:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oNyYx6q:Q  
3X`9&0:j%  
struts.enable.DynamicMethodInvocation v}6iI}r  
      Allows one to disable dynamic method invocation from the URL )x7n-|y6  
        允许动态方法调用 31a,i2Q4  
\X:e9~  
struts.freemarker.manager.classname oT):#,s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class () _RLA  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 dA~:L`A|X  
iVI&  
struts.i18n.encoding r |C.K  
      The encoding to use for localization messages {fzX2qMZ]  
      国际化信息内码 w}>%E6UY  
gmRc4o  
struts.i18n.reload OL>>/T  
      Whether the localization messages should automatically be reloaded *x|%Nua"  
      是否国际化信息自动加载 F nA Kfh(  
6M*z`B{hV  
struts.locale q>.7VN[ vE  
      The default locale for the Struts application C~qZ&  
      默认的国际化地区信息 nc k/Dw  
1@}F8&EZ  
struts.mapper.class \Y)HSJR;e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z^&G9I#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 |l; Ot=C=  
WzN c=@[W  
struts.multipart.maxSize W^tD6H;  
      The maximize size of a multipart request (file upload) '" "v7  
      multipart请求信息的最大尺寸(文件上传用) Swhz\/u9  
9j>2C  
struts.multipart.parser 9:USxFM  
      The org.apache.struts2.dispatcher.multipart. 't5ufAT  
      MultiPartRequest parser implementation for a multipart request (file upload) 6(bN*.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Fvl\.  
K$,Zg  
5wx_ol}2  
struts.multipart.saveDir Xfq`k/ W  
      The directory to use for storing uploaded files yS W$zA,  
      设置存储上传文件的目录夹 ZL6HD n!  
3\XNOJH  
struts.objectFactory cmG27\cRO  
      The com.opensymphony.xwork2.ObjectFactory implementation class j#5a&Z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )/$J$'mcxd  
sm/a L^4  
struts.objectFactory.spring.autoWire ?%  24M\  
      Whether Spring should autoWire or not .*-8rOcc  
      是否自动绑定Spring  !Ld5Y$  
u /F!8#  
struts.objectFactory.spring.useClassCache u?Ffqt9'  
      Whether Spring should use its class cache or not ?s^qWA  
      是否spring应该使用自身的cache #Q8_:dPY  
f1 x&Fk  
struts.objectTypeDeterminer %Rc#/y  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class JY,$B-l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1&=)Bxg4  
Ek)drt7cy  
struts.serve.static.browserCache \Ggh 95y  
If static content served by the Struts filter should set browser caching header properties or not OTXZdAv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ib#-M;{  
_ nMd  
struts.serve.static I@cw=_EQL  
      Whether the Struts filter should serve static content or not .uJ J<  
      是否struts过滤器应该提供静态内容 ZbYC3_7w  
=0g!Q   
struts.tag.altSyntax } {1IB  
      Whether to use the alterative syntax for the tags or not 6Rn?pe^  
      是否可以用替代的语法替代tags 90Ki.K0  
k: Pn.<  
struts.ui.templateDir gXdMGO>  
      The directory containing UI templates kK[4uQQ  
      UI templates的目录夹 Pao^>rj  
oe*1jR_J`[  
struts.ui.theme t eY@) F  
      The default UI template theme zEI+)|4?r  
      默认的UI template主题 q5(t2nNb  
M&V'*.xz  
struts.url.http.port zC2:c"E I  
      The HTTP port used by Struts URLs BPO5=]W 7  
      设置http端口 %10ONe}  
# rkq ?:Q  
struts.url.https.port 'C'mgEl%L  
      The HTTPS port used by Struts URLs zXY8:+f  
      设置https端口 _i05' _  
PILpWhjL$9  
struts.url.includeParams A & iv  
      The default includeParams method to generate Struts URLs EqW~K@  
      在url中产生 默认的includeParams L kK *.  
q?}C`5%D  
 k[r^@|  
struts.velocity.configfile vE:*{G;Y  
      The Velocity configuration file path >C|pY6  
      velocity配置文件路径 2RkW/) A9  
+fKOX#%  
struts.velocity.contexts >yC=@Uq+  
      List of Velocity context names U,=f};  
      velocity的context列表 X4V>qHV72  
;4rhh h&  
@_+aX.,  
struts.velocity.manager.classname  i0=U6S:#  
      org.apache.struts2.views.velocity.VelocityManager implementation class k1wIb']m]z  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,s[%,ep`  
PQ&*(G  
struts.velocity.toolboxlocation O4R\] B#Xu  
      The location of the Velocity toolbox hq=;ZI  
      velocity工具盒的位置 |7|S>h^  
struts.xslt.nocache 6'#5Dqw"r  
      Whether or not XSLT templates should not be cached TjUwe@&Rw  
      是否XSLT模版应该被缓存 G}nJ3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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