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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t!K*pM  
}CxvT`/  
struts.action.extension rfw-^`&{  
      The URL extension to use to determine if the request is meant for a Struts action wC-Rr^q  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 !K? qgM  
y&_m 4Zw"  
struts.configuration B??J@+Nf  
      The org.apache.struts2.config.Configuration implementation class N S#TW  
        org.apache.struts2.config.Configuration接口名 !Oi~:Pp  
*;|`E(   
struts.configuration.files _p?s9&  
      A list of configuration files automatically loaded by Struts FecktD=  
      struts自动加载的一个配置文件列表 5( _6+'0  
umLb+GbI4  
struts.configuration.xml.reload u>pBB@  
      Whether to reload the XML configuration or not 7FO'{Qq  
      是否加载xml配置(true,false) tvd0R$5}  
vEQ<A<[Z  
struts.continuations.package gw _$  
      The package containing actions that use Rife continuations vB! |\eJ  
      含有actions的完整连续的package名称  _ q(Q  
)IT6vU"-yd  
struts.custom.i18n.resources k'_ P 7  
      Location of additional localization properties files to load $ OVXk'cc  
      加载附加的国际化属性文件(不包含.properties后缀) xLZd!>C  
F\ctuaLC  
struts.custom.properties u-"c0@  
      Location of additional configuration properties files to load ]S 7^ITn  
      加载附加的配置文件的位置 0J~Qq]g  
iq*A("pU  
UofTll)  
struts.devMode (qwdQMj`  
      Whether Struts is in development mode or not 6b~28  
      是否为struts开发模式 /HZumV?  
yg]2erR  
struts.dispatcher.parametersWorkaround l.nH?kK<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F~U!1)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]TstSF=  
irTv4ZE'+l  
struts.enable.DynamicMethodInvocation _y .]3JNm  
      Allows one to disable dynamic method invocation from the URL M2@^bB\J  
        允许动态方法调用 5.tvB  
Tp<k<uKD  
struts.freemarker.manager.classname bzi|s5!'<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 8&V_$+U  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 $\AEWFB  
s~26  
struts.i18n.encoding +CM7C%U   
      The encoding to use for localization messages Lv1{k\aw  
      国际化信息内码 d77r9  
-v?hqWMp#  
struts.i18n.reload # fhEc;t  
      Whether the localization messages should automatically be reloaded ^%y`u1ab  
      是否国际化信息自动加载 {F|48P;J  
mCKk*5ws5"  
struts.locale H;WY!X$x  
      The default locale for the Struts application ezTZnutZ  
      默认的国际化地区信息 =neL}Fav56  
GJ 'spgz  
struts.mapper.class zGc(Ef5`M6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Kud'pZ{P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 AY_Q""v  
o/^;@5\  
struts.multipart.maxSize TJ6#P<M  
      The maximize size of a multipart request (file upload) "Mmf6hu  
      multipart请求信息的最大尺寸(文件上传用) =7 ,Kf} 6  
wHsB,2H  
struts.multipart.parser VanB>|p6  
      The org.apache.struts2.dispatcher.multipart. }gf}eH  
      MultiPartRequest parser implementation for a multipart request (file upload) V:bV ?lt  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) |Y_ -  
UBO^EVJ  
U/qE4u1J6M  
struts.multipart.saveDir 2Ohp]G  
      The directory to use for storing uploaded files kpob b  
      设置存储上传文件的目录夹 &~5=K  
GIHpSy`z  
struts.objectFactory 'PdmI<eXQ  
      The com.opensymphony.xwork2.ObjectFactory implementation class '~-IV0v9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +yt6(7V*  
;_<)JqUh  
struts.objectFactory.spring.autoWire JhR W[~  
      Whether Spring should autoWire or not n<V1|X  
      是否自动绑定Spring Uz8hANN0_  
1K|@ h&@  
struts.objectFactory.spring.useClassCache g?q KNY  
      Whether Spring should use its class cache or not %Ny) ?B  
      是否spring应该使用自身的cache \Mi#{0f+q  
#I`ms$j%  
struts.objectTypeDeterminer 'b:Ne,<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CBD_a#K{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 kRIB<@{  
F@YV]u>N  
struts.serve.static.browserCache lWy=)^)4  
If static content served by the Struts filter should set browser caching header properties or not s ?l%L!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =;c_} VY  
B!aK  
struts.serve.static a}.Y!O&  
      Whether the Struts filter should serve static content or not #w3ru6*W  
      是否struts过滤器应该提供静态内容 :_d3//|  
]jM^Z.mI+  
struts.tag.altSyntax J+<p+(^*v  
      Whether to use the alterative syntax for the tags or not T%CxvZ  
      是否可以用替代的语法替代tags [5pCL0<c@  
p4/$EPt)lY  
struts.ui.templateDir Ae|P"^kZ  
      The directory containing UI templates ,J9}.}Hd  
      UI templates的目录夹 Sw! j=`O  
& QZVq"  
struts.ui.theme L{ ^4DznI  
      The default UI template theme , &' Y  
      默认的UI template主题 =v"xmx&4  
hH+bt!aH  
struts.url.http.port _GbE ^  
      The HTTP port used by Struts URLs @sf 90&f  
      设置http端口 <Dw]yGK@  
6 `puTL?  
struts.url.https.port + Oobb-v  
      The HTTPS port used by Struts URLs .L;",E  
      设置https端口 c>Z*/>~  
P%o44|[][  
struts.url.includeParams +*EKR  
      The default includeParams method to generate Struts URLs U|fTb0fB  
      在url中产生 默认的includeParams z<a2cQ?XQ  
EZ% .M*?  
g_D-(J`IK,  
struts.velocity.configfile s'2Rs^,hN  
      The Velocity configuration file path A_r<QYq0|  
      velocity配置文件路径 StM/  
jL4>A$  
struts.velocity.contexts PvOC5b  
      List of Velocity context names P%GkcV  
      velocity的context列表 Xm[Czd]%  
$U'3MEEw  
`facFt[\  
struts.velocity.manager.classname {fG|_+tl3o  
      org.apache.struts2.views.velocity.VelocityManager implementation class WV_`1hZX  
      org.apache.struts2.views.velocity.VelocityManager接口名 F RH&B5w  
lYQtv=q  
struts.velocity.toolboxlocation R# 6H'TVE  
      The location of the Velocity toolbox )W9_qmYd"  
      velocity工具盒的位置 /| GH0L  
struts.xslt.nocache H%.zXQ4}n  
      Whether or not XSLT templates should not be cached |[w^eg  
      是否XSLT模版应该被缓存 ^HFo3V }h  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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