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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 u_Zm1*'?B  
A^vvST%7  
struts.action.extension d#7]hF  
      The URL extension to use to determine if the request is meant for a Struts action <?4cWp|i  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [a+4gy  
q\_DJ)qpn  
struts.configuration 9<Ag1l  
      The org.apache.struts2.config.Configuration implementation class x _|>n<Z  
        org.apache.struts2.config.Configuration接口名 vnVZJ}]w\  
5% 'S  
struts.configuration.files 9 P~d:'Ib  
      A list of configuration files automatically loaded by Struts N1s.3`  
      struts自动加载的一个配置文件列表 19w_tSg  
PC0HH  
struts.configuration.xml.reload LV\ieM  
      Whether to reload the XML configuration or not ~zj"OG"zOw  
      是否加载xml配置(true,false) d}VALjXHX!  
26}u4W$  
struts.continuations.package BDp:9yau  
      The package containing actions that use Rife continuations #AvEH=:  
      含有actions的完整连续的package名称 ^f6 {0  
mCK],TOA:  
struts.custom.i18n.resources 1V0sl0i4  
      Location of additional localization properties files to load WN1Jm:5YV  
      加载附加的国际化属性文件(不包含.properties后缀) YPG,9iZ&f  
PJ0Jjoh"Y  
struts.custom.properties ]qMH=>pOsj  
      Location of additional configuration properties files to load 1oB$u!6P  
      加载附加的配置文件的位置 unJ iE!  
L1rA T  
(< :mM  
struts.devMode EZ*t$3.T  
      Whether Struts is in development mode or not  I}rGx  
      是否为struts开发模式 f~U#z7  
R~!\ -6%_  
struts.dispatcher.parametersWorkaround @OY1`Eu O  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Xn PJC'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \+G.]|"Y  
qT"drgpi3  
struts.enable.DynamicMethodInvocation "2%y~jrDN  
      Allows one to disable dynamic method invocation from the URL Oe/73| >U  
        允许动态方法调用 U{HyxZ|q<  
T\)dt?Tv#\  
struts.freemarker.manager.classname %l%=Dkss  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class avmcGyL  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 F9v)R #u~  
L,E-z_<p  
struts.i18n.encoding ?U}sQ;c$  
      The encoding to use for localization messages GA(OK-WUd  
      国际化信息内码 %N7gT*B:  
@;g`+:=  
struts.i18n.reload r^fxyN2V  
      Whether the localization messages should automatically be reloaded l&\t f`~  
      是否国际化信息自动加载 0BT;"B1  
! Zno[R  
struts.locale >-UD]?>  
      The default locale for the Struts application IES41y<  
      默认的国际化地区信息 A>4l/  
7z Ohyl?  
struts.mapper.class qw6EPC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Ewa[Y=+tx  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Xs{/}wc.q;  
Bjurmo  
struts.multipart.maxSize |*lH9lWJ  
      The maximize size of a multipart request (file upload) "ugX /r$_  
      multipart请求信息的最大尺寸(文件上传用) m};~JMo]  
(r.$%[,.<  
struts.multipart.parser s'R~ r  
      The org.apache.struts2.dispatcher.multipart. >&*6Fqd  
      MultiPartRequest parser implementation for a multipart request (file upload) m]bL)]Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) z:d Xc  
2q2p=H>&  
;5&k/CB1  
struts.multipart.saveDir -fb1cv~N  
      The directory to use for storing uploaded files |U8>:DEl  
      设置存储上传文件的目录夹 #N<s^KYG-  
Q3 K;kS  
struts.objectFactory gn-=##fT:i  
      The com.opensymphony.xwork2.ObjectFactory implementation class \DG( 8l  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4U}.Skzq  
{Bav$kw;?e  
struts.objectFactory.spring.autoWire -0=}|$H.  
      Whether Spring should autoWire or not 6|Ba  
      是否自动绑定Spring :6\-9m8JM  
$K=K?BV[  
struts.objectFactory.spring.useClassCache  9OrA9r  
      Whether Spring should use its class cache or not },?-$eyX  
      是否spring应该使用自身的cache @ef//G+Z"  
F?yh23&_4  
struts.objectTypeDeterminer `D&#U'wB   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v*vub#wP  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~$ cm9>  
(.jO:#eE%  
struts.serve.static.browserCache B`'}&6jr.  
If static content served by the Struts filter should set browser caching header properties or not IqR[&T)lj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z/ c'Z#w%  
e8WPV  
struts.serve.static r9p?@P\:[  
      Whether the Struts filter should serve static content or not `Gy>tD.#V-  
      是否struts过滤器应该提供静态内容 ;ph+ZV  
*g/I&'^  
struts.tag.altSyntax 0C4*F  
      Whether to use the alterative syntax for the tags or not B=o#LL  
      是否可以用替代的语法替代tags A;/Xt  
!VJT"Ds_  
struts.ui.templateDir bUipp\[aV  
      The directory containing UI templates V!yp@%D  
      UI templates的目录夹 3RTB~K8:{  
il`C,CD  
struts.ui.theme #U6/@l)  
      The default UI template theme r&j+;JM5  
      默认的UI template主题 Yp?a=R  
&L[8Mju6  
struts.url.http.port cSHtl<UY  
      The HTTP port used by Struts URLs 7@e[:>e  
      设置http端口 s525`Q;  
T^f&58{ 7  
struts.url.https.port q(${jz4w  
      The HTTPS port used by Struts URLs <try%p|f  
      设置https端口 +wPvQKVfI  
Si%Eimiq  
struts.url.includeParams v~W6yjp  
      The default includeParams method to generate Struts URLs fR{WS:Pv  
      在url中产生 默认的includeParams $7k04e@ ]  
= -a?oH-  
 hE?GO,  
struts.velocity.configfile KlSY^(kHR  
      The Velocity configuration file path _#\5]D~""  
      velocity配置文件路径 u.xA}yVS  
S+E3;' H  
struts.velocity.contexts [;kj,j  
      List of Velocity context names vr]dRStr  
      velocity的context列表 b^|,9en  
L 52z  
m<VL19o>R  
struts.velocity.manager.classname ~A{[=v  
      org.apache.struts2.views.velocity.VelocityManager implementation class @tU>~y{E  
      org.apache.struts2.views.velocity.VelocityManager接口名 E`Zh\u)  
rO2PbF3  
struts.velocity.toolboxlocation y5opdIaT  
      The location of the Velocity toolbox Bg 8t'dw?K  
      velocity工具盒的位置 Zq6ebj  
struts.xslt.nocache $F==n4)  
      Whether or not XSLT templates should not be cached E<.{ v\  
      是否XSLT模版应该被缓存 u>-uRz<)t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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