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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tCoE4Ed  
MK@rx6<9  
struts.action.extension jJNl{nyq  
      The URL extension to use to determine if the request is meant for a Struts action 3TLym&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 J]zhwM  
Wd+G)Mu_=  
struts.configuration 9Iq<*\V 4  
      The org.apache.struts2.config.Configuration implementation class 4}t&yu<P>  
        org.apache.struts2.config.Configuration接口名 (v KJyk+Y  
 - US>].  
struts.configuration.files H3vnc\d~  
      A list of configuration files automatically loaded by Struts 2xiE#l-V2  
      struts自动加载的一个配置文件列表 EYZ&%.Sy5  
OwPHp&{ Y  
struts.configuration.xml.reload !4gHv4v ;  
      Whether to reload the XML configuration or not n[r1h=?j3  
      是否加载xml配置(true,false) ujN~l_ 4  
QVkji7)ZT  
struts.continuations.package S.`hl/  
      The package containing actions that use Rife continuations SK&1l`3  
      含有actions的完整连续的package名称 F(Zf=$cx  
xdDe@G;"  
struts.custom.i18n.resources ~% t'}JDZ  
      Location of additional localization properties files to load V2AsZc0U(  
      加载附加的国际化属性文件(不包含.properties后缀) M;'GnGFf  
\,n X/f  
struts.custom.properties EE|c@M^  
      Location of additional configuration properties files to load ;$1x_ Cb  
      加载附加的配置文件的位置 EAm31v C  
&OE-+z  
@$L|   
struts.devMode ePl+ M  
      Whether Struts is in development mode or not [\ Sd*-  
      是否为struts开发模式 ^c9_F9N  
6[RTL2&W  
struts.dispatcher.parametersWorkaround #`U?,>2q  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \CE+P5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %C #Ps   
qmGHuQVe  
struts.enable.DynamicMethodInvocation trjeGSt&  
      Allows one to disable dynamic method invocation from the URL |+JO]J#bc  
        允许动态方法调用 )c1Pj#|  
py':36'  
struts.freemarker.manager.classname u rQvJ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]Ol w6W?%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 tJQZRZViu  
jk_yrbLc  
struts.i18n.encoding bG*l_  
      The encoding to use for localization messages {~R?f$}""j  
      国际化信息内码 _D@QsQ_Z  
} _];yw  
struts.i18n.reload f\=,_AQ  
      Whether the localization messages should automatically be reloaded ZAeJTCCk  
      是否国际化信息自动加载 ]9'F<T= $_  
_*[vKS A&  
struts.locale 3D5adI<aq"  
      The default locale for the Struts application !>!jLZ0  
      默认的国际化地区信息 ",[/pb  
g`C"t3~%S  
struts.mapper.class xC= $ym]  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i$}G[v<4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )+hJi/g  
aO?KRn  
struts.multipart.maxSize  5T9[a  
      The maximize size of a multipart request (file upload) $7xfLS8Vo  
      multipart请求信息的最大尺寸(文件上传用) uh#E^~5S  
a #s Nd  
struts.multipart.parser F3$8l[O_  
      The org.apache.struts2.dispatcher.multipart. [; $:Lr  
      MultiPartRequest parser implementation for a multipart request (file upload) Mh3L(z]/E  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |HJ`uGN<b  
) k[XO  
_Gb 7n5p  
struts.multipart.saveDir ,1!Y!,xy  
      The directory to use for storing uploaded files S;iD~>KP  
      设置存储上传文件的目录夹 !B{(EL=g  
mI:D  
struts.objectFactory k\/es1jOEh  
      The com.opensymphony.xwork2.ObjectFactory implementation class Dp#27Yzc  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q3-cWfU  
}TuMMO4+  
struts.objectFactory.spring.autoWire -Gl!W`$I `  
      Whether Spring should autoWire or not l ObY  
      是否自动绑定Spring H15!QxD#  
&`>dY /Y  
struts.objectFactory.spring.useClassCache p<Tg}fg  
      Whether Spring should use its class cache or not W$l4@A  
      是否spring应该使用自身的cache Z$m&F0g  
?v F8 y;Jh  
struts.objectTypeDeterminer (r'NB  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )PkGT~3I  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,O^kZ}b  
H.l WHM+H4  
struts.serve.static.browserCache Po\+zZjo  
If static content served by the Struts filter should set browser caching header properties or not 8(A k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8F)9.s,*  
{\VsM#K6  
struts.serve.static YY7dw:>e/  
      Whether the Struts filter should serve static content or not \MmB+'f&R  
      是否struts过滤器应该提供静态内容 \Km+>G  
7<2?NLE8*  
struts.tag.altSyntax eCg|@d%D  
      Whether to use the alterative syntax for the tags or not lD _iIe~c  
      是否可以用替代的语法替代tags l#w0-n%S  
|qf9-36   
struts.ui.templateDir *l0i}"T^_  
      The directory containing UI templates GIR12%-EO  
      UI templates的目录夹 1.~^QH\p?3  
.>y3`,0h  
struts.ui.theme +_f813$C  
      The default UI template theme *_Pkb.3R  
      默认的UI template主题 jlUT9Zp  
s <$*A;t  
struts.url.http.port qe0ZM-C_  
      The HTTP port used by Struts URLs '=(yh{W  
      设置http端口 b+CvA(*  
gKPqU@$*  
struts.url.https.port Zyz)`>cB  
      The HTTPS port used by Struts URLs iq 8Hq)I]  
      设置https端口 *s2 C+@ef  
3zM>2)T-  
struts.url.includeParams /wHfc[b>  
      The default includeParams method to generate Struts URLs ZQ_~ L!ot  
      在url中产生 默认的includeParams dGR #l)  
IY(;:#l  
SQuW`EHBgs  
struts.velocity.configfile RT9%E/m  
      The Velocity configuration file path i.ivHV~ -  
      velocity配置文件路径 !#WJ(zSq  
X%B2xQM 5  
struts.velocity.contexts =A"z.KfV  
      List of Velocity context names 3);W gh6  
      velocity的context列表 8{CBWXo$)  
IF?  
pSpxd |k  
struts.velocity.manager.classname #N\<(SD/  
      org.apache.struts2.views.velocity.VelocityManager implementation class G)9`Qn  
      org.apache.struts2.views.velocity.VelocityManager接口名 T=pKen/  
O0mQHpi:  
struts.velocity.toolboxlocation AAc2u^spx  
      The location of the Velocity toolbox +2s][^-KV  
      velocity工具盒的位置 &v+Hl ^  
struts.xslt.nocache cn_*,\}  
      Whether or not XSLT templates should not be cached LQ"xm  
      是否XSLT模版应该被缓存 -$D#u  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八