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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @:7gHRJ!  
5|R2cc|"9  
struts.action.extension y@M}T{,/  
      The URL extension to use to determine if the request is meant for a Struts action S(J\<)b  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Su"_1~/2S  
|nEV Oy>'  
struts.configuration "k-ov9yK  
      The org.apache.struts2.config.Configuration implementation class ~B&*7Q7  
        org.apache.struts2.config.Configuration接口名 uit-Q5@~  
 j/9QV  
struts.configuration.files CjQ"oQw  
      A list of configuration files automatically loaded by Struts aEDN]O95?  
      struts自动加载的一个配置文件列表 grQnV' q  
_g 4 /%  
struts.configuration.xml.reload Fd[h9 G  
      Whether to reload the XML configuration or not e(#IewKp  
      是否加载xml配置(true,false) Tj=dL  
g`OOVaB  
struts.continuations.package v{2DBr  
      The package containing actions that use Rife continuations b#g {`E  
      含有actions的完整连续的package名称 ey)u7-O  
}6J7 <g  
struts.custom.i18n.resources ZB[(Tv1  
      Location of additional localization properties files to load QP%kL*=8  
      加载附加的国际化属性文件(不包含.properties后缀) .H^P2tp  
'yd@GQM&  
struts.custom.properties #jZ@l3  
      Location of additional configuration properties files to load 9U)t@b  
      加载附加的配置文件的位置 HRV*x!|I  
Yu^H*b  
ufCqvv>'  
struts.devMode u:k:C  
      Whether Struts is in development mode or not Mjj}E >&  
      是否为struts开发模式 y-#  
"XNu-_$N<a  
struts.dispatcher.parametersWorkaround =#(0)p $EC  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i7nL_N  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ole|J  
y?#9>S >:\  
struts.enable.DynamicMethodInvocation Znta#G0  
      Allows one to disable dynamic method invocation from the URL ^IGyuj0]jG  
        允许动态方法调用 -~][0PVL9  
NQC3!=pQ}Y  
struts.freemarker.manager.classname j`R<90~/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class C.>  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 i<m$#6 <Z  
+~d1 ;0l|  
struts.i18n.encoding |qlS6Aln  
      The encoding to use for localization messages 8lOI\-  
      国际化信息内码 w,Z" W;|  
6<Z*Tvk{C  
struts.i18n.reload )4ilCS&  
      Whether the localization messages should automatically be reloaded k(EMp1[:nN  
      是否国际化信息自动加载 \&iil =H8!  
2vc\=  
struts.locale vUYJf99B  
      The default locale for the Struts application A)hhnb0o  
      默认的国际化地区信息 !7*(!as  
O4EIE)c  
struts.mapper.class a*Ss -y  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class R zS|dGNQE  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 bar0{!Y"  
st?gA"5w  
struts.multipart.maxSize 7qg<[  
      The maximize size of a multipart request (file upload) [5Fd P0  
      multipart请求信息的最大尺寸(文件上传用) >?5xDbRj  
fw' r.  
struts.multipart.parser MBB5wj  
      The org.apache.struts2.dispatcher.multipart. lwOf)jK:J  
      MultiPartRequest parser implementation for a multipart request (file upload) s>|Z7[*  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8xF)_UV  
5VR.o!h3I  
ptpW41t}^  
struts.multipart.saveDir rH_Jh}Y  
      The directory to use for storing uploaded files f.oP   
      设置存储上传文件的目录夹  {l2N&  
f=ac I|w  
struts.objectFactory Gg%tVQu  
      The com.opensymphony.xwork2.ObjectFactory implementation class 5`{vE4A]q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )O3jQ_q=  
QjA&IZEC  
struts.objectFactory.spring.autoWire -Z%F mv8  
      Whether Spring should autoWire or not 4:vTxNs&S  
      是否自动绑定Spring z)lM2x>|*  
pkXv.D`  
struts.objectFactory.spring.useClassCache HU &)  
      Whether Spring should use its class cache or not HG2GZ}~^1  
      是否spring应该使用自身的cache [yw%ih)  
_Vjpw,  
struts.objectTypeDeterminer GQN98Y+h  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class lhqQ CV  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 XRa(sXA3  
k(P3LJcYQ  
struts.serve.static.browserCache -bypuMQ-p  
If static content served by the Struts filter should set browser caching header properties or not *URdd,){i  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eZg$AOpU  
EeCFII  
struts.serve.static v&fGCD\R  
      Whether the Struts filter should serve static content or not pOm@b `S%  
      是否struts过滤器应该提供静态内容 2;G98H  
7*i }km  
struts.tag.altSyntax S%kS#U${|  
      Whether to use the alterative syntax for the tags or not McjS)4j&.  
      是否可以用替代的语法替代tags ,"Tjpdf  
{j?7d; 'j  
struts.ui.templateDir 8xgJSk  
      The directory containing UI templates Dl%?OG<  
      UI templates的目录夹 9x=3W?K:,  
S'o ]=&  
struts.ui.theme .Y1bY: =  
      The default UI template theme 2FGx _ Y  
      默认的UI template主题 nfX12y_SXL  
HsnG4OE  
struts.url.http.port BCx!0v?9  
      The HTTP port used by Struts URLs b,dr+RB  
      设置http端口 6xarYh(  
iJ)0Y~  
struts.url.https.port &<Mt=(qY1  
      The HTTPS port used by Struts URLs '[nmFCG%m*  
      设置https端口 wcZbmJ:  
H"+wsM^@  
struts.url.includeParams >AG^fUArH  
      The default includeParams method to generate Struts URLs h* s`^W3  
      在url中产生 默认的includeParams UfR~%p>K  
vX+.e1m  
> \3ah4"o  
struts.velocity.configfile h4(JUio  
      The Velocity configuration file path 'wZ_4XjD  
      velocity配置文件路径 3B{[%#vO  
HzvlF0f  
struts.velocity.contexts Vl<9=f7[  
      List of Velocity context names _A 2Lv]vfV  
      velocity的context列表 jWvtv ng  
B'}"AC"  
+8AvTSgX%  
struts.velocity.manager.classname *Y%Jl o  
      org.apache.struts2.views.velocity.VelocityManager implementation class h*Je35  
      org.apache.struts2.views.velocity.VelocityManager接口名 tPU-1by$  
bLbR IY"l  
struts.velocity.toolboxlocation 6tn+m54_  
      The location of the Velocity toolbox  sTkkM9  
      velocity工具盒的位置 vXdZmYrC  
struts.xslt.nocache X |b2c+I  
      Whether or not XSLT templates should not be cached Oz{%k#X-  
      是否XSLT模版应该被缓存 Qz+sT6js-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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