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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L K #A  
=IMmtOvJ  
struts.action.extension _h-agn4[i  
      The URL extension to use to determine if the request is meant for a Struts action 3<r7"/5  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,IPt4EH$  
`Ow]@flLI  
struts.configuration ; CCg]hX  
      The org.apache.struts2.config.Configuration implementation class FLMiW]?x  
        org.apache.struts2.config.Configuration接口名 L[2qCxB'^  
=Q_1Mr4O  
struts.configuration.files CqnHh@]nu  
      A list of configuration files automatically loaded by Struts b\(f>g[  
      struts自动加载的一个配置文件列表 ~JL qh  
k={D!4kKz  
struts.configuration.xml.reload b \}a   
      Whether to reload the XML configuration or not caQ1SV^{9  
      是否加载xml配置(true,false) V|'@D#\  
"mJo<i}  
struts.continuations.package }U_^zQfaj  
      The package containing actions that use Rife continuations 7#E/Q~]'6  
      含有actions的完整连续的package名称 u;q Q/Ftb  
B46:LQ9[  
struts.custom.i18n.resources < c^'$  
      Location of additional localization properties files to load 2.Vrh@FNRo  
      加载附加的国际化属性文件(不包含.properties后缀) bPOPoq1#  
fS4foMI63)  
struts.custom.properties }h;Z_XF&  
      Location of additional configuration properties files to load -NwG' U~  
      加载附加的配置文件的位置 ` 7iA?;  
`Vw G]2 I  
:g|.x  
struts.devMode QPf\lN/$4d  
      Whether Struts is in development mode or not _;PQt" ]  
      是否为struts开发模式 HKJCiQ|k  
;I*t5{  
struts.dispatcher.parametersWorkaround XE2Un1i}j1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0cHcBxdF  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (sKg*G2  
ExO#V9DaW  
struts.enable.DynamicMethodInvocation ~%*l>GkP*  
      Allows one to disable dynamic method invocation from the URL U%@PY9#  
        允许动态方法调用 y ~  K8  
mx}5":}  
struts.freemarker.manager.classname jo"nK,r  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $=plAi  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5>9Q<*   
g&g:H H :  
struts.i18n.encoding RDbNC v#  
      The encoding to use for localization messages Wmd@%K  
      国际化信息内码 nr]=O`Mvh  
h/\v+xiF  
struts.i18n.reload y05!-G:Y\  
      Whether the localization messages should automatically be reloaded 3J"`mQ  
      是否国际化信息自动加载 uN<=v&]q  
/9ORVV  
struts.locale IMD^(k 2  
      The default locale for the Struts application Ja3#W K  
      默认的国际化地区信息 {Ycgq%1>]  
\>:t={>;  
struts.mapper.class P[ o"%NZ'  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $R #_c}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 hD5@PeLh  
GcRH$,<XG  
struts.multipart.maxSize m%J?5rR3  
      The maximize size of a multipart request (file upload) 'Q E8  
      multipart请求信息的最大尺寸(文件上传用) =r/K#hOR\J  
6E) T;R(@  
struts.multipart.parser ^IiA(?8  
      The org.apache.struts2.dispatcher.multipart. w]MI3_|'r(  
      MultiPartRequest parser implementation for a multipart request (file upload) X40gJV<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `S((F|Ty=;  
l)$mpMgAD  
Q+Nnj(AQY  
struts.multipart.saveDir @~2k5pa  
      The directory to use for storing uploaded files ]CP5s5  
      设置存储上传文件的目录夹 A/=cGE  
s&ox%L4  
struts.objectFactory s>G6/TTH6  
      The com.opensymphony.xwork2.ObjectFactory implementation class 65zwi-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ? /!Fv/  
dwB#k$VIOw  
struts.objectFactory.spring.autoWire RbUir185Y  
      Whether Spring should autoWire or not +DSbr5"VlB  
      是否自动绑定Spring Qf0P"s`  
w31O~Ve  
struts.objectFactory.spring.useClassCache aN"YEL>w  
      Whether Spring should use its class cache or not LeN }Q  
      是否spring应该使用自身的cache Q% aF~  
Eo$l-Hl5=  
struts.objectTypeDeterminer T+XcEI6w  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class eW.qMx#:od  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 z&!o1uq  
_\4r~=`HQ  
struts.serve.static.browserCache _~Od G  
If static content served by the Struts filter should set browser caching header properties or not aEdMZ+P.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 VT>-*  
d >L8S L  
struts.serve.static FsUH/Y y  
      Whether the Struts filter should serve static content or not ){GJgk|P  
      是否struts过滤器应该提供静态内容 51s\)d%l  
rs4:jS$)  
struts.tag.altSyntax ;,Vdj[W$>  
      Whether to use the alterative syntax for the tags or not ("A45\5  
      是否可以用替代的语法替代tags {!( htg;  
w:B&8I(n}w  
struts.ui.templateDir 1Mq"f 7X8  
      The directory containing UI templates suQ`a_ zJ  
      UI templates的目录夹 KUX6n(u  
k7:ISj J  
struts.ui.theme ,?U(PEO\f  
      The default UI template theme >}.~Y#Ge  
      默认的UI template主题 &z3_N  
(Ajhf}zJ  
struts.url.http.port 7y&=YCkc7  
      The HTTP port used by Struts URLs O^c?w8   
      设置http端口 ;xTMOuI*  
J8FzQ2  
struts.url.https.port ,%m~OB #  
      The HTTPS port used by Struts URLs dT1UYG}>j  
      设置https端口 XH0{|#hwN  
d+P<ce2 G  
struts.url.includeParams uF%N`e^S  
      The default includeParams method to generate Struts URLs Nc6y]eGz  
      在url中产生 默认的includeParams Fc=F2Mo?  
D3 +|Os)  
e+Mm!\ ;`  
struts.velocity.configfile 2:.$:wS  
      The Velocity configuration file path $m>( kd1  
      velocity配置文件路径 hQ%X0X,  
x?6^EB|@  
struts.velocity.contexts +Rd\*b  
      List of Velocity context names \Q`#E'?  
      velocity的context列表 LCRWC`%&  
hBZh0x y  
GXx'"SK9  
struts.velocity.manager.classname d?U,}tv  
      org.apache.struts2.views.velocity.VelocityManager implementation class ; mV>k_AG  
      org.apache.struts2.views.velocity.VelocityManager接口名 pkIQ,W{Ke  
~&0lWa  
struts.velocity.toolboxlocation x6T$HN/2  
      The location of the Velocity toolbox %xx;C{g;a  
      velocity工具盒的位置 4u p7 :?  
struts.xslt.nocache V'.gE6we  
      Whether or not XSLT templates should not be cached HU +271A8  
      是否XSLT模版应该被缓存 6EWCJ%_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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