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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 $@VQ{S  
]>:LHW  
struts.action.extension @2Spfj_e  
      The URL extension to use to determine if the request is meant for a Struts action RD$"ft]Vc  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z 8w&;Ls  
7aV(tMzd  
struts.configuration Y[\ZN  
      The org.apache.struts2.config.Configuration implementation class T#>1$0yv  
        org.apache.struts2.config.Configuration接口名 t%B ,ATW  
Sz"rp9x+  
struts.configuration.files GfG!CG^ %  
      A list of configuration files automatically loaded by Struts _NkVi_UX  
      struts自动加载的一个配置文件列表 6)@Y41H]C  
K~U5jp c  
struts.configuration.xml.reload |q( .j4[i  
      Whether to reload the XML configuration or not Zy<gA >  
      是否加载xml配置(true,false) ne~=^IRB  
A3;}C+K  
struts.continuations.package ]V`L\  
      The package containing actions that use Rife continuations m$w'`[H  
      含有actions的完整连续的package名称 ['G@`e*\  
+H'{!:e5  
struts.custom.i18n.resources KA"D2j9wn  
      Location of additional localization properties files to load |z5`h  
      加载附加的国际化属性文件(不包含.properties后缀) + Q $J q  
[1 ?  
struts.custom.properties BS6UXAf{|Z  
      Location of additional configuration properties files to load 'f?=ks<  
      加载附加的配置文件的位置 ]csfK${  
rEM#J"wF  
&' 0|U{|  
struts.devMode NJe^5>4`  
      Whether Struts is in development mode or not C `>1x`n  
      是否为struts开发模式 wcd1.$ n  
7M#irCX  
struts.dispatcher.parametersWorkaround F/QRgXV  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l1EI4Y9KG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N N1(f  
[ q% Rx!L  
struts.enable.DynamicMethodInvocation Q`ALyp,9b  
      Allows one to disable dynamic method invocation from the URL Q#Vg5H4  
        允许动态方法调用 8,l~e8&  
)[c@5zy~*  
struts.freemarker.manager.classname -/7[\S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6UXDIg=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C.& R,$  
,f]GOH  
struts.i18n.encoding B9&$sTAB  
      The encoding to use for localization messages ?Tr]zxtd  
      国际化信息内码 j\uh]8N3<  
m"r=p  
struts.i18n.reload uE}A-\G  
      Whether the localization messages should automatically be reloaded |_Tp:][mf  
      是否国际化信息自动加载 -%g$~MZ?'  
n@`:"j%s_  
struts.locale RTJ\|#w  
      The default locale for the Struts application  s_p\ bl.  
      默认的国际化地区信息 e[:i`J2  
ZliJc7lss  
struts.mapper.class XuY#EJbZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >,&@j,?']  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?q %&"  
Y]33:c_;Mo  
struts.multipart.maxSize p:/#nmC<  
      The maximize size of a multipart request (file upload) [PI!.9H  
      multipart请求信息的最大尺寸(文件上传用) BKfkB[*F  
KbcmK( `_  
struts.multipart.parser ]8c%)%Vi  
      The org.apache.struts2.dispatcher.multipart. mk'$ |2O  
      MultiPartRequest parser implementation for a multipart request (file upload) .EXe3!J)!  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0<n*8t?A-  
h5do?b v!  
d`g)(*  
struts.multipart.saveDir /p PSo  
      The directory to use for storing uploaded files E;vF :?|  
      设置存储上传文件的目录夹 A'=,q  
{j!jm5  
struts.objectFactory }5??n~:*5  
      The com.opensymphony.xwork2.ObjectFactory implementation class *\M$pUS{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yG ,oSp|  
l[P VWM  
struts.objectFactory.spring.autoWire ?: XY3!{  
      Whether Spring should autoWire or not Uh tk`2O  
      是否自动绑定Spring KIeTZVu$%  
\H -,^[G3  
struts.objectFactory.spring.useClassCache _x&fK$Y)B  
      Whether Spring should use its class cache or not 0Gr^#`  
      是否spring应该使用自身的cache 2l YA% n  
ydx-` yg#  
struts.objectTypeDeterminer O5lP92],  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \GFFPCi4 D  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M< 1rQW'  
9wB}EDZ  
struts.serve.static.browserCache kR1dk4I4  
If static content served by the Struts filter should set browser caching header properties or not $UX^$gG  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 D#pZN,'  
N;6@f*3_i  
struts.serve.static ~ZN]2}  
      Whether the Struts filter should serve static content or not AvxP0@.`  
      是否struts过滤器应该提供静态内容 ?;c&5'7ct  
Q 6)5*o8n  
struts.tag.altSyntax DsI{*#  
      Whether to use the alterative syntax for the tags or not F\H^=P  
      是否可以用替代的语法替代tags K~MTbdg  
N)&(&2  
struts.ui.templateDir \dG#hH4ZD  
      The directory containing UI templates M }H7`,@I  
      UI templates的目录夹 i]L4kh5  
`~.0PnHf  
struts.ui.theme 2o\GU  
      The default UI template theme Z ^w5x:  
      默认的UI template主题 {TWgR2?{C  
rK@UCRf  
struts.url.http.port F:P&hK  
      The HTTP port used by Struts URLs qOi3`6LCV  
      设置http端口 '~Z#h  P  
FV1!IE-}-  
struts.url.https.port ~:|qdv%\  
      The HTTPS port used by Struts URLs R'.YE;leBG  
      设置https端口 )iiwxpdw  
2S{IZ]  
struts.url.includeParams ;44?`[oP  
      The default includeParams method to generate Struts URLs qUMM}ls  
      在url中产生 默认的includeParams oV 7A"8L^a  
` s}v6  
;?A?1q8*  
struts.velocity.configfile ,XZ[L? >  
      The Velocity configuration file path 5X'com?T  
      velocity配置文件路径 P!Mz5QZ+  
q%/ciPgE  
struts.velocity.contexts Ju~8C\Dd  
      List of Velocity context names KT5"/fv  
      velocity的context列表 -XSu;'4q  
'za4c4b*u  
z [qO5z~I  
struts.velocity.manager.classname wJb\Q  
      org.apache.struts2.views.velocity.VelocityManager implementation class O 0lQ1<=  
      org.apache.struts2.views.velocity.VelocityManager接口名 wF`9}9q  
hgz7dF  
struts.velocity.toolboxlocation LAoX'^6  
      The location of the Velocity toolbox otsINAizgS  
      velocity工具盒的位置 p4|Zz:f  
struts.xslt.nocache 54A ndyeA  
      Whether or not XSLT templates should not be cached u/@dWeY[]  
      是否XSLT模版应该被缓存 jx=2^A/i2-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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