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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Hq3"OMGq  
h /@G[5E  
struts.action.extension J9zSBsp_  
      The URL extension to use to determine if the request is meant for a Struts action m "h{HgJd  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +r"{$'{^  
2 D>WIOX  
struts.configuration bBn4m:  
      The org.apache.struts2.config.Configuration implementation class kW3V"twx  
        org.apache.struts2.config.Configuration接口名 y08.R. l  
V^As@P8,'(  
struts.configuration.files oMM`7wJw  
      A list of configuration files automatically loaded by Struts #Huvn4x  
      struts自动加载的一个配置文件列表 CMI%jyiX  
`rN,*kcP  
struts.configuration.xml.reload -O:+?gG  
      Whether to reload the XML configuration or not W MU9tq[  
      是否加载xml配置(true,false) L Me{5H  
T;IaVMFG|d  
struts.continuations.package ?<STt 9  
      The package containing actions that use Rife continuations !-_0I:m  
      含有actions的完整连续的package名称 yIC8Rl  
K*xqQ]&  
struts.custom.i18n.resources g[!t@K  
      Location of additional localization properties files to load & gnE"  
      加载附加的国际化属性文件(不包含.properties后缀) `lX |yy"  
AK]{^Hvz  
struts.custom.properties @`^+XPK\  
      Location of additional configuration properties files to load ^2rNty,nH  
      加载附加的配置文件的位置 <C`qJP-  
lTBPq?4{  
BT.;l I  
struts.devMode jCa%(2~iQ7  
      Whether Struts is in development mode or not F[BJhN*]a  
      是否为struts开发模式 ACxOC2\n  
B"rnSui  
struts.dispatcher.parametersWorkaround Ue^2H[zs-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =Yg36J4[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (n_lu= E70  
DN3#W w2[r  
struts.enable.DynamicMethodInvocation YBqu7&  
      Allows one to disable dynamic method invocation from the URL A[`c2v-hF  
        允许动态方法调用 ,K'>s<}  
~w_4 nE  
struts.freemarker.manager.classname MB06=N  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (99P9\[p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ir'(GB  
^m8T$^z>  
struts.i18n.encoding #}*w &y  
      The encoding to use for localization messages {|nm0vg`A  
      国际化信息内码 3omFd#EP  
&'4{/Gz  
struts.i18n.reload sLrSi  
      Whether the localization messages should automatically be reloaded 4+2XPaI m  
      是否国际化信息自动加载 o8Vtxnkg  
Yt*2/jw^  
struts.locale ~b;l08 <  
      The default locale for the Struts application d*Q:[RUf,  
      默认的国际化地区信息 .@KpN*`KH  
t>.1,'zb  
struts.mapper.class 4gbi?UAmX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VtIPw&KHW  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7ADh  
M0VC-\W7f  
struts.multipart.maxSize '?7th>pC  
      The maximize size of a multipart request (file upload) Rj6:.KEJ  
      multipart请求信息的最大尺寸(文件上传用) jR-DH]@y  
DY1?37h  
struts.multipart.parser k.=67L  
      The org.apache.struts2.dispatcher.multipart. yZk HBG4  
      MultiPartRequest parser implementation for a multipart request (file upload) 9QE|p  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $Lg% CY  
!_0kn6 S5  
%.^8&4$+  
struts.multipart.saveDir 0s)B~  
      The directory to use for storing uploaded files N5 ITb0Tv  
      设置存储上传文件的目录夹 ~3-2Iu^F  
E/ %S0  
struts.objectFactory 0w^\sf%s  
      The com.opensymphony.xwork2.ObjectFactory implementation class zWvG];fsN  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $jMU| {  
iC- ?F cA  
struts.objectFactory.spring.autoWire 18JhC*in  
      Whether Spring should autoWire or not 3&i8C,u]/O  
      是否自动绑定Spring Cw;&{jY  
$__e7  
struts.objectFactory.spring.useClassCache C {.{>M  
      Whether Spring should use its class cache or not $tvGS6p>  
      是否spring应该使用自身的cache 2}`Q9?  
s)Sa KE*d  
struts.objectTypeDeterminer 63:0Vt>hZ^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #k? Rl  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 | rJ_  
T8Sgu6:*R  
struts.serve.static.browserCache UJ' +Z6d  
If static content served by the Struts filter should set browser caching header properties or not ~/?JRL=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cGSoAK  
_nu %`?Va  
struts.serve.static ]P/eg$u'I  
      Whether the Struts filter should serve static content or not o?A/  
      是否struts过滤器应该提供静态内容 7O5`&Z'-  
m(JFlO  
struts.tag.altSyntax 6S?a57;&W  
      Whether to use the alterative syntax for the tags or not a(CZGIB  
      是否可以用替代的语法替代tags X;_0"g  
qmUq9bV  
struts.ui.templateDir js )G   
      The directory containing UI templates ?#]K54?  
      UI templates的目录夹 t!^FWr&  
$ hB;r  
struts.ui.theme Re?sopg0r  
      The default UI template theme 5r/QPJ<h  
      默认的UI template主题 [o&Vr\.$  
^5vFF@to  
struts.url.http.port CaNZScnZ  
      The HTTP port used by Struts URLs aq3evm  
      设置http端口 Avw"[~Xd  
.UbmU^y|  
struts.url.https.port qS{lay  
      The HTTPS port used by Struts URLs /1++ 8=  
      设置https端口 DoWY*2E  
#FF5xe  
struts.url.includeParams G}i\UXFE  
      The default includeParams method to generate Struts URLs >j?5MIm03  
      在url中产生 默认的includeParams 1DcYc-k#  
RLY Ae  
M0o=bYI  
struts.velocity.configfile HCQv"i}-  
      The Velocity configuration file path OB3AZH$  
      velocity配置文件路径 *sf9(%j  
|w[}\#2  
struts.velocity.contexts pPCxa#OV  
      List of Velocity context names t&SJ!>7_c  
      velocity的context列表 Sw#Ez-X  
S|;a=K&hS  
fT._Os?i  
struts.velocity.manager.classname {d(PH7R  
      org.apache.struts2.views.velocity.VelocityManager implementation class `ZN@L<I6  
      org.apache.struts2.views.velocity.VelocityManager接口名 9}X3Q!iFb  
6 6x} |7  
struts.velocity.toolboxlocation U._ U!U  
      The location of the Velocity toolbox ]Vjn7P`~ N  
      velocity工具盒的位置 3]'=s>UO>^  
struts.xslt.nocache F-k1yZ?^  
      Whether or not XSLT templates should not be cached s5|LD'o!  
      是否XSLT模版应该被缓存 M; zRf3S  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五