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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Y` tB5P  
8hm|9  
struts.action.extension CqbPUcK  
      The URL extension to use to determine if the request is meant for a Struts action OqA#4h4^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OG}m+K&<  
p*" H&xA@  
struts.configuration tD\%SiTg=b  
      The org.apache.struts2.config.Configuration implementation class %P-z3 0FHp  
        org.apache.struts2.config.Configuration接口名 d@_|  
uY Y{M`  
struts.configuration.files Kv-4VWh  
      A list of configuration files automatically loaded by Struts eh} {\P  
      struts自动加载的一个配置文件列表 ':_1z5  
hha^:,  
struts.configuration.xml.reload w&^_2<a2  
      Whether to reload the XML configuration or not 0|@* `-:VO  
      是否加载xml配置(true,false) TClgywL  
FTC,{$  
struts.continuations.package G,JNUok  
      The package containing actions that use Rife continuations x9VR>ux&  
      含有actions的完整连续的package名称 AF-uTf  
eU.HS78  
struts.custom.i18n.resources q~*>  
      Location of additional localization properties files to load  w#\*{EN  
      加载附加的国际化属性文件(不包含.properties后缀) uj9IK  
u}I\!-EX!v  
struts.custom.properties qx<h rC0Z&  
      Location of additional configuration properties files to load \-~TW4dYe  
      加载附加的配置文件的位置 Uk|(VR9  
@XFy^?  
r__Y{&IO  
struts.devMode =dT sGNz  
      Whether Struts is in development mode or not %vFoTu)2  
      是否为struts开发模式 i$!-mYi+Q!  
kA%"-$3  
struts.dispatcher.parametersWorkaround CP!>V:w%9!  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic $d _%7xx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {P@OV1  
U<H< !NV  
struts.enable.DynamicMethodInvocation yCT:U&8%F  
      Allows one to disable dynamic method invocation from the URL 6`Af2Y_  
        允许动态方法调用 [<p7'n3x  
4` zfrT^  
struts.freemarker.manager.classname O+Qt8,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ts3BmfR?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j=~c( B  
3G)Wmmh"a  
struts.i18n.encoding XF 8$D  
      The encoding to use for localization messages Y>i?nC%*  
      国际化信息内码 0755;26Bx  
WN%KA TA  
struts.i18n.reload 7BDRA},o  
      Whether the localization messages should automatically be reloaded ?XNQ_m8f  
      是否国际化信息自动加载 *iVCHQ~  
W bW@V_rr  
struts.locale bhWH  
      The default locale for the Struts application WYklS<B[  
      默认的国际化地区信息 :;(zA_-  
251^>x.R  
struts.mapper.class DYKJVn7w  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 4#^?-6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \E3e vU  
!9knF t43  
struts.multipart.maxSize k{q4Zz[  
      The maximize size of a multipart request (file upload) <i(<|/ $  
      multipart请求信息的最大尺寸(文件上传用) ` kG}NJf  
J` J^C  
struts.multipart.parser sHSD`mYq  
      The org.apache.struts2.dispatcher.multipart.  8DsXw@o  
      MultiPartRequest parser implementation for a multipart request (file upload) UfUboxT  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9OnH3  
~@wM[}ThP$  
 mOkf   
struts.multipart.saveDir  DlWnz-  
      The directory to use for storing uploaded files ]d|:&h  
      设置存储上传文件的目录夹 ;P#c!  
xbv  
struts.objectFactory l].Gz`L  
      The com.opensymphony.xwork2.ObjectFactory implementation class M{ mdh\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) QXcSDJ  
u'BuZF  
struts.objectFactory.spring.autoWire :"4Pr/}rT  
      Whether Spring should autoWire or not "/&_B  
      是否自动绑定Spring |*+f N8  
2HemPth  
struts.objectFactory.spring.useClassCache ,@1.&!F4it  
      Whether Spring should use its class cache or not X<<hb  
      是否spring应该使用自身的cache W+C@(}pt  
"V;5Lp b  
struts.objectTypeDeterminer feH|sz`e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~K-c-Zs#z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 }yfSF|\  
o"a~  
struts.serve.static.browserCache [o0Z; }fU  
If static content served by the Struts filter should set browser caching header properties or not y,D4b6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6:v$g  
cJnAwIs_e`  
struts.serve.static }  :@s  
      Whether the Struts filter should serve static content or not 8 N5ga  
      是否struts过滤器应该提供静态内容 Q8kdX6NMd&  
xA-u%Vf7@  
struts.tag.altSyntax Wp[R$/uT  
      Whether to use the alterative syntax for the tags or not ` 5.PPI\h2  
      是否可以用替代的语法替代tags UE[5Bw?4X  
qx$-% P  
struts.ui.templateDir ]H4T80wm&  
      The directory containing UI templates 0~5'O[NhF  
      UI templates的目录夹 < c}cgD4  
v&NC` dVR  
struts.ui.theme PsLMV:O9S  
      The default UI template theme mrzrQ@sN  
      默认的UI template主题 v~2$9x!9  
RiY9[ec2  
struts.url.http.port AI|8E8h+D  
      The HTTP port used by Struts URLs o6PDCaT7  
      设置http端口 KfO$bmwmx  
8d90B9  
struts.url.https.port ?5A!/`E&%  
      The HTTPS port used by Struts URLs ,&1DKx  
      设置https端口 9bL`0L  
/"Bm1  
struts.url.includeParams j}2,|9ne  
      The default includeParams method to generate Struts URLs ~ "^]\3#  
      在url中产生 默认的includeParams 5f:Mb|. ?  
}CiB+  
%YI Xk1  
struts.velocity.configfile = 2 3H/  
      The Velocity configuration file path CO` %eL ~  
      velocity配置文件路径 V?a+u7*U&  
X_}2xo|T  
struts.velocity.contexts UKBVCAK  
      List of Velocity context names }w0>mA0=H  
      velocity的context列表 G/2| *H  
 i,{'}B  
x>?jfN,e  
struts.velocity.manager.classname >>**n9\q  
      org.apache.struts2.views.velocity.VelocityManager implementation class LG0z|x(  
      org.apache.struts2.views.velocity.VelocityManager接口名 [84f[`!Ui  
]ZQ3|ZJ?<  
struts.velocity.toolboxlocation "QWF&-kAI  
      The location of the Velocity toolbox =,/08Cs  
      velocity工具盒的位置 :3z`+5Y*  
struts.xslt.nocache ~JJuM  
      Whether or not XSLT templates should not be cached GvL)SVv?  
      是否XSLT模版应该被缓存 _k0 X)N+li  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五