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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i. u15$  
@0UwI%.  
struts.action.extension 8?j&{G  
      The URL extension to use to determine if the request is meant for a Struts action ;sL6#Go?V  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 QVSsi j  
-wtTq ph'  
struts.configuration p*AP 'cR  
      The org.apache.struts2.config.Configuration implementation class 7o965h  
        org.apache.struts2.config.Configuration接口名 s;_#7x#  
G{:af:5Fo  
struts.configuration.files UOLTCp?M;J  
      A list of configuration files automatically loaded by Struts S0.- >"L  
      struts自动加载的一个配置文件列表 1RI#kti-"  
/md Q(Dm  
struts.configuration.xml.reload K^,&ub.L)  
      Whether to reload the XML configuration or not cu479VzPx:  
      是否加载xml配置(true,false) Ql#W /x,e  
1(:b{Bl  
struts.continuations.package MOp=9d+N~  
      The package containing actions that use Rife continuations @dE 3  
      含有actions的完整连续的package名称 dS3>q<J*a  
o}mhy`}  
struts.custom.i18n.resources vbWJhj K0h  
      Location of additional localization properties files to load o]|oAN9  
      加载附加的国际化属性文件(不包含.properties后缀) ZM-/n>  
VRd:2uDS  
struts.custom.properties 2w x[D  
      Location of additional configuration properties files to load ~b>nCP8q  
      加载附加的配置文件的位置 ;Z!~A"~$>  
5&n988g C8  
NWQPOq#  
struts.devMode 4uO @`0:x  
      Whether Struts is in development mode or not 2[8fFo>  
      是否为struts开发模式 de=5=>P7  
U5On-T5  
struts.dispatcher.parametersWorkaround g/U$!d_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9{9#AI.G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }j5R@I6P  
[.#p  
struts.enable.DynamicMethodInvocation f gK2.;>  
      Allows one to disable dynamic method invocation from the URL {p#l!P/  
        允许动态方法调用 K)9j je  
taWirq d9  
struts.freemarker.manager.classname 8"?Vcw&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Sg CqxFii  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q(ZB.  
/^z/]!JG:V  
struts.i18n.encoding LM"W)S  
      The encoding to use for localization messages 'FPcAW^8  
      国际化信息内码 VeNNsg>&  
fXF=F,!t  
struts.i18n.reload Xa{~a3Wy  
      Whether the localization messages should automatically be reloaded =9DhO7I'  
      是否国际化信息自动加载 v|4STR  
nxn[ ~~  
struts.locale ?8wwd!)x%  
      The default locale for the Struts application Q8;x9o@p  
      默认的国际化地区信息 F1?CqN M  
AQnJxIL:  
struts.mapper.class {dy` %It  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a2c x  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 c]s (u+i  
a!c/5)v(  
struts.multipart.maxSize eEWro F  
      The maximize size of a multipart request (file upload) r%g <h T 8  
      multipart请求信息的最大尺寸(文件上传用) E(aX4^]g  
";-{ ~  
struts.multipart.parser 7X9+Qj;  
      The org.apache.struts2.dispatcher.multipart. $I)Tk`=  
      MultiPartRequest parser implementation for a multipart request (file upload) V!pq,!C$v  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gD,YQ%aq  
oglXW8  
Vr&el  
struts.multipart.saveDir RR[)UQ  
      The directory to use for storing uploaded files i$`|Y*  
      设置存储上传文件的目录夹 vKU]80T  
dp"<KcP_  
struts.objectFactory ]97Xu_  
      The com.opensymphony.xwork2.ObjectFactory implementation class .iOw0z  
      com.opensymphony.xwork2.ObjectFactory接口(spring) i63`B+L{  
9_J!s  
struts.objectFactory.spring.autoWire N<L$gw+)$D  
      Whether Spring should autoWire or not q;~R:}?@  
      是否自动绑定Spring bGGeg%7  
4B:\  
struts.objectFactory.spring.useClassCache &57qjA ,8<  
      Whether Spring should use its class cache or not ]6a/0rg:t  
      是否spring应该使用自身的cache ^G|w8t+^  
vO}qjw  
struts.objectTypeDeterminer Ap F*a$),  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qO:U]\P  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {Ior.(D>Y  
~&wXXVK3  
struts.serve.static.browserCache '+)6#/*  
If static content served by the Struts filter should set browser caching header properties or not `7u\   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 kdK*MUB  
FX7Cjo#=R  
struts.serve.static  _/8_,9H  
      Whether the Struts filter should serve static content or not |Q5H9<*  
      是否struts过滤器应该提供静态内容 k9*J*7l-m  
g)=V#Bglv  
struts.tag.altSyntax 4'+d"Ok  
      Whether to use the alterative syntax for the tags or not T4V[R N  
      是否可以用替代的语法替代tags gZw\*9Q9  
 4 "pS  
struts.ui.templateDir C $]5l; `  
      The directory containing UI templates U -Af7qO  
      UI templates的目录夹 KW&nDu t  
M,b<B_$  
struts.ui.theme 9>A-$a4R>  
      The default UI template theme ~fyF&+ibp'  
      默认的UI template主题 #@nZ4=/z  
Mq+viU&   
struts.url.http.port C!$Xv&"r  
      The HTTP port used by Struts URLs IT8B~I\OY  
      设置http端口 QT`fix{  
pu\b`3C(  
struts.url.https.port 68v xI|EZ  
      The HTTPS port used by Struts URLs ?~F]@2)5w  
      设置https端口 2"T8^r|U  
?,WUJH?^  
struts.url.includeParams &FL%H;Kfx  
      The default includeParams method to generate Struts URLs k)$iK2I  
      在url中产生 默认的includeParams iP~sft6  
+<)tql*  
Tx y]"_  
struts.velocity.configfile yQu vW$  
      The Velocity configuration file path CMC?R,d  
      velocity配置文件路径 P/FrE~  
MB}:GY?  
struts.velocity.contexts o8w-$ Qb  
      List of Velocity context names Nawp t%  
      velocity的context列表 $@_YdZ!  
l0gH(28K  
R!sNg   
struts.velocity.manager.classname n (OjjR m  
      org.apache.struts2.views.velocity.VelocityManager implementation class bZxv/\  
      org.apache.struts2.views.velocity.VelocityManager接口名 o:Ln._bj  
qsI{ b<n  
struts.velocity.toolboxlocation |!$ Q<-]f  
      The location of the Velocity toolbox p])D)FsMB  
      velocity工具盒的位置 {&u Rd?(  
struts.xslt.nocache k%"$$uo  
      Whether or not XSLT templates should not be cached ]MC/t5vCu  
      是否XSLT模版应该被缓存 6o$Z0mG  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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