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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -Aa]aDAz68  
l801` ~*gO  
struts.action.extension (S  k#x  
      The URL extension to use to determine if the request is meant for a Struts action ?h!t$QQ!M  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ?C &x/2lt  
I#U>5"%\a  
struts.configuration OE'K5oIM  
      The org.apache.struts2.config.Configuration implementation class ,Z>wbMJig  
        org.apache.struts2.config.Configuration接口名 ,AH0*L  
@iU%`=ziz  
struts.configuration.files 8FzHNG  
      A list of configuration files automatically loaded by Struts 5M%,N-P^  
      struts自动加载的一个配置文件列表 ,0!uem}1i  
A7k'K4  
struts.configuration.xml.reload V43nws "4  
      Whether to reload the XML configuration or not $]@O/[  
      是否加载xml配置(true,false) YP[LQ>  
ajn-KG!A  
struts.continuations.package 5kcJ  
      The package containing actions that use Rife continuations \bhOPK>w  
      含有actions的完整连续的package名称 F:%^&%\  
N-[n\}'  
struts.custom.i18n.resources dQ:?<zZ  
      Location of additional localization properties files to load g b -Bxf  
      加载附加的国际化属性文件(不包含.properties后缀) * R%.a^R  
Lf >YdD  
struts.custom.properties n0_B(997*  
      Location of additional configuration properties files to load W_^>MLq  
      加载附加的配置文件的位置 *^'wFbaBO  
`f@{Vcr% i  
~}BJ0P(VMc  
struts.devMode U,e'ZRU6  
      Whether Struts is in development mode or not q"S(7xWS  
      是否为struts开发模式 U\Ct/U&A?  
tqK=\{U  
struts.dispatcher.parametersWorkaround )S^z+3p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic wG+=}1X  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) a\=-D:  
=f>HiF  
struts.enable.DynamicMethodInvocation A8J8u,u9  
      Allows one to disable dynamic method invocation from the URL @0$}? 2  
        允许动态方法调用 t\8&*(&3F  
~z5@V5 z  
struts.freemarker.manager.classname 1!!\+ c2*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class MSl&?}Bj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~;[&K%n  
c15r':.5  
struts.i18n.encoding V] rhVMA  
      The encoding to use for localization messages ! ao6e  
      国际化信息内码 Pey//U  
a5a1'IVq  
struts.i18n.reload I:i<>kG  
      Whether the localization messages should automatically be reloaded L1wZU,o  
      是否国际化信息自动加载 ym\(PCa5`  
ZRnL_ z~  
struts.locale z>G;(F2  
      The default locale for the Struts application SG:bM7*1'  
      默认的国际化地区信息 ACb/ITu  
c` , 2h#  
struts.mapper.class nd:E9:  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3y ryeS  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 bg}+\/78#  
D{cZxI  
struts.multipart.maxSize X D)  8?  
      The maximize size of a multipart request (file upload) @u/H8\.l  
      multipart请求信息的最大尺寸(文件上传用) cD2+hp|9  
U'y,YtF@  
struts.multipart.parser Ql &0O27  
      The org.apache.struts2.dispatcher.multipart. A "S/^<  
      MultiPartRequest parser implementation for a multipart request (file upload) ^P?vkO"pB?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'tm$q /&  
7)^:8I(  
X\\7$  
struts.multipart.saveDir \3zp)J  
      The directory to use for storing uploaded files F\:(*1C  
      设置存储上传文件的目录夹 3?.1n Gu  
y\'P3ihK  
struts.objectFactory +?[BU<X6u  
      The com.opensymphony.xwork2.ObjectFactory implementation class \G>ZkgU  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ka/XK[/'  
lZW K2  
struts.objectFactory.spring.autoWire __I/F6{ 9V  
      Whether Spring should autoWire or not ZCYS\E 7X  
      是否自动绑定Spring Cqx v"NN  
R?pRxY  
struts.objectFactory.spring.useClassCache ghAi{@s$)  
      Whether Spring should use its class cache or not +7U  
      是否spring应该使用自身的cache eEl.. y  
 f:wd&V  
struts.objectTypeDeterminer 8;8c"'Mn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <&<,l58[c  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }T.?c9l X  
]|U-y6 45  
struts.serve.static.browserCache |c2 xy  
If static content served by the Struts filter should set browser caching header properties or not KrcgIB8X  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 347eis'  
V&ot3- Rf  
struts.serve.static Tycq1i^  
      Whether the Struts filter should serve static content or not .Cz %:%9  
      是否struts过滤器应该提供静态内容 &aG*k*  
DCQ^fZ/  
struts.tag.altSyntax 2i7e#  
      Whether to use the alterative syntax for the tags or not A8DFm{})c  
      是否可以用替代的语法替代tags <>Y?v C  
@|\R}k%(  
struts.ui.templateDir Bs ;|D  
      The directory containing UI templates JkQ\)^5v  
      UI templates的目录夹 Sw[{JB;y,  
r0]4=6U  
struts.ui.theme 57,dw-|xi  
      The default UI template theme ]N{0:Va@D  
      默认的UI template主题 XfYC7-e9c  
!CUoHTmB  
struts.url.http.port 9 QC.TG@  
      The HTTP port used by Struts URLs 5n lMrK  
      设置http端口 "v-(g9(  
M*eJ JY  
struts.url.https.port H%F>@(U  
      The HTTPS port used by Struts URLs \ I`p|&vG  
      设置https端口 ANi)q$:{  
\]4v_!  
struts.url.includeParams I=DxRgt  
      The default includeParams method to generate Struts URLs >rsqH+oL  
      在url中产生 默认的includeParams 0k,-;j,  
E:`v+S_h  
'x"08v$  
struts.velocity.configfile _aWl]I){5  
      The Velocity configuration file path eLD|A=X?  
      velocity配置文件路径 q`NXJf=sc  
Z;l`YK^-  
struts.velocity.contexts mTNB88p8^D  
      List of Velocity context names ^5GW$  
      velocity的context列表 :Y,BdU  
K14^JAdY/  
b75 $?_+  
struts.velocity.manager.classname \b=Pj!^gwb  
      org.apache.struts2.views.velocity.VelocityManager implementation class _5 ^I.5Z3  
      org.apache.struts2.views.velocity.VelocityManager接口名 Sq\(pfv o  
ew _-Eb  
struts.velocity.toolboxlocation zq+o+o>xo  
      The location of the Velocity toolbox Ian[LbCWB  
      velocity工具盒的位置 66x?A0P  
struts.xslt.nocache ".^VI2T  
      Whether or not XSLT templates should not be cached dovZ#D@Q  
      是否XSLT模版应该被缓存 @Jm7^;9/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五