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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 eJ'ojc3  
`/O_6PQ}  
struts.action.extension tx.sUu6  
      The URL extension to use to determine if the request is meant for a Struts action apXq$wWq{D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 'Tn$lh  
]So%/rOvX  
struts.configuration Qa=;Elp:[  
      The org.apache.struts2.config.Configuration implementation class })Jp5vv  
        org.apache.struts2.config.Configuration接口名 _]g6 3q  
:n=+$Dq  
struts.configuration.files R0>L[1o  
      A list of configuration files automatically loaded by Struts '@FKgy;B)-  
      struts自动加载的一个配置文件列表 sx;1V{|g  
y< 84Gw_  
struts.configuration.xml.reload 5o?bF3  
      Whether to reload the XML configuration or not /dAIg1ra  
      是否加载xml配置(true,false) YL]x>7T~4t  
/D12N'VaE  
struts.continuations.package fg2}~ 02n  
      The package containing actions that use Rife continuations A+'j@c\&!  
      含有actions的完整连续的package名称 (+@H !>r$$  
y =CemJ[~  
struts.custom.i18n.resources GZ"O%: d  
      Location of additional localization properties files to load iiu\_ a=0b  
      加载附加的国际化属性文件(不包含.properties后缀) No?pv"  
Kxq~,g=t  
struts.custom.properties M1:m"#=  
      Location of additional configuration properties files to load a)]N#gx  
      加载附加的配置文件的位置 XX =A1#H  
|<E%hf  
TUT>*  
struts.devMode E?V:dr  
      Whether Struts is in development mode or not ^>>Naid  
      是否为struts开发模式 ?Gb 18m  
li'#< "R?'  
struts.dispatcher.parametersWorkaround =8]'/b  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +#O?sI#  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ppxu\a  
g#e"BBm=A  
struts.enable.DynamicMethodInvocation 4H'9y3dk  
      Allows one to disable dynamic method invocation from the URL g$ h!:wW  
        允许动态方法调用 a}yJ$6xi  
$ysC)5q.  
struts.freemarker.manager.classname j=7]"%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `'~|DG}a  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 rl4-nA  
[mhY_Hmz]  
struts.i18n.encoding -C\m' T,1  
      The encoding to use for localization messages `O#y%*E  
      国际化信息内码 | .PLfc;  
x ` $4  
struts.i18n.reload (+_Amw!W  
      Whether the localization messages should automatically be reloaded 2a{eJ89f  
      是否国际化信息自动加载 >q`G?9d2  
f@ySTz;u  
struts.locale RtSk;U1  
      The default locale for the Struts application rHMsA|xz6  
      默认的国际化地区信息 t{$t3>p-t  
 hHdC/mR  
struts.mapper.class TO QvZ?_  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class SQ@@79A  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]LD@I;(_  
RAe:$Iv$!v  
struts.multipart.maxSize PS>k67sI  
      The maximize size of a multipart request (file upload) ex-`+cF  
      multipart请求信息的最大尺寸(文件上传用) b*$^8%  
}hGbF"clqg  
struts.multipart.parser 419t"1b  
      The org.apache.struts2.dispatcher.multipart. L%!jj7,9-  
      MultiPartRequest parser implementation for a multipart request (file upload) #CM2FN:W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) h5F1mr1Sa  
@+\OoOK<L  
$v+g3+7  
struts.multipart.saveDir X/?3ifP6I  
      The directory to use for storing uploaded files L./UgeZ  
      设置存储上传文件的目录夹 Qq5)|m  
]R0^ }sI  
struts.objectFactory f F?=W  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7[Y<5T]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K2&pTA~OR  
^NP" m  
struts.objectFactory.spring.autoWire ^Xh9:OBF  
      Whether Spring should autoWire or not hd\iW7  
      是否自动绑定Spring \i{=%[c  
{W@Y4Qqq  
struts.objectFactory.spring.useClassCache klPc l[.w  
      Whether Spring should use its class cache or not gX);/;9mm+  
      是否spring应该使用自身的cache U|,VH-#  
__)9JF  
struts.objectTypeDeterminer <MY_{o8d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x }-rAr  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gCd9"n-e  
"}EydG"=  
struts.serve.static.browserCache *8Gx_$t&  
If static content served by the Struts filter should set browser caching header properties or not d"$ \fL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 R:11w#m7w  
HdVGkv/  
struts.serve.static B6,"S5@  
      Whether the Struts filter should serve static content or not 9v^MZ ^Y{  
      是否struts过滤器应该提供静态内容 8%Pjx7'<  
zL1H[}[z+  
struts.tag.altSyntax fY\QI =  
      Whether to use the alterative syntax for the tags or not _uL m!ku  
      是否可以用替代的语法替代tags Uc \\..Cf  
<UeO+M(  
struts.ui.templateDir 7)~/`w)P  
      The directory containing UI templates HdLVXaD/  
      UI templates的目录夹 Kx ';mgG#$  
U1B5gjN  
struts.ui.theme %T!UEl`v  
      The default UI template theme je.mX/Lpj  
      默认的UI template主题 JIDE]f  
+.{_n(kU  
struts.url.http.port C%l~qf1n  
      The HTTP port used by Struts URLs Rom|Bqo;  
      设置http端口 BB9Z?}  
HnrT;!C~  
struts.url.https.port K" Y,K  
      The HTTPS port used by Struts URLs /8lGP! z  
      设置https端口 9MVW~ V  
0/;T\9  
struts.url.includeParams +\SbrB P  
      The default includeParams method to generate Struts URLs 8\/E/o3  
      在url中产生 默认的includeParams ^KmyB6Yg  
BT >8  
Z3=t"  
struts.velocity.configfile ACc.&,!IZ  
      The Velocity configuration file path >AV?g8B;  
      velocity配置文件路径 zS]Yd9;X1  
B$aboL2  
struts.velocity.contexts KD=T04v  
      List of Velocity context names J %URg=r  
      velocity的context列表 u JGYXlLE  
}Z"<KF  
9w(QM-u  
struts.velocity.manager.classname Gb\}e}TB[  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q l ql(*  
      org.apache.struts2.views.velocity.VelocityManager接口名 '3aDvV0  
vV,H@WK  
struts.velocity.toolboxlocation sLPFeibof5  
      The location of the Velocity toolbox {^5r5GB=*  
      velocity工具盒的位置 CZt)Q4  
struts.xslt.nocache | \C{R  
      Whether or not XSLT templates should not be cached -7>vh|3  
      是否XSLT模版应该被缓存  jmz, 1[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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