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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 T"dX)~E;  
`f8{ ^Rau  
struts.action.extension #O\4XZ,Lv  
      The URL extension to use to determine if the request is meant for a Struts action  ZRsDn  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1sGkbfh{t  
E9!IGci  
struts.configuration k2,n:7  
      The org.apache.struts2.config.Configuration implementation class ~}$:iyJV(>  
        org.apache.struts2.config.Configuration接口名 TM[Z~n(wt  
`i,ZwnLh{  
struts.configuration.files 4YXtl +G  
      A list of configuration files automatically loaded by Struts FavU"QU&|  
      struts自动加载的一个配置文件列表 +2|X 7wA  
yQM7QLbTk  
struts.configuration.xml.reload q'hMf?_  
      Whether to reload the XML configuration or not wvp\'* $  
      是否加载xml配置(true,false) 0F0V JE  
JrOp-ug  
struts.continuations.package =}Bq"m  
      The package containing actions that use Rife continuations MS_&;2  
      含有actions的完整连续的package名称 vXq=f:y4  
&s\$&%|  
struts.custom.i18n.resources }sd-X`lZ  
      Location of additional localization properties files to load j K$4G.x  
      加载附加的国际化属性文件(不包含.properties后缀) Y^2`)':  
x,5$VLs\+  
struts.custom.properties ?G* XZ0u~  
      Location of additional configuration properties files to load /-8v]nRB  
      加载附加的配置文件的位置 X>wB=z5PXK  
G>YJ3p7  
}Xrs"u,  
struts.devMode ^.nvX{H8~=  
      Whether Struts is in development mode or not `$nMTx]Y  
      是否为struts开发模式 "5synfO  
f8lBxK  
struts.dispatcher.parametersWorkaround V/"XC3/n*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GWM2l?zOP  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (=QaAn,,R  
(W5E\hjJ  
struts.enable.DynamicMethodInvocation c^6v7wT5  
      Allows one to disable dynamic method invocation from the URL one^XYy1%  
        允许动态方法调用 ]i8K )/  
&A*oQ3  
struts.freemarker.manager.classname $P866F  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?\<2*sW [k  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C$"jZcm,I  
P qagep d  
struts.i18n.encoding f`:e#x  
      The encoding to use for localization messages ,b-wo  
      国际化信息内码 6!n"E@Bwu  
]vXIj0:  
struts.i18n.reload p87s99  
      Whether the localization messages should automatically be reloaded (|' w$  
      是否国际化信息自动加载 Zj<oh8  
<^~Xnstl  
struts.locale H'q&1^w)  
      The default locale for the Struts application d#ya"e>  
      默认的国际化地区信息 U"%k4]:A  
htX'bA  
struts.mapper.class 6lT1X)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]WWre},  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r?{Vqephz  
}sPY+ZjV  
struts.multipart.maxSize ,H22;UV9  
      The maximize size of a multipart request (file upload) 7KRc^ *pZs  
      multipart请求信息的最大尺寸(文件上传用) 66p_d'U  
xXA$16kd  
struts.multipart.parser Pu/0<Orp7  
      The org.apache.struts2.dispatcher.multipart. ^nbze  
      MultiPartRequest parser implementation for a multipart request (file upload) (pi7TSJ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f#eTi&w  
zesEbR)j  
p\+#`] Q7}  
struts.multipart.saveDir n 8AND0a1C  
      The directory to use for storing uploaded files oxO}m7 ULH  
      设置存储上传文件的目录夹 d2.n^Q"?3  
*n}9_V%  
struts.objectFactory xBgf)'W_Z  
      The com.opensymphony.xwork2.ObjectFactory implementation class & \<RVE  
      com.opensymphony.xwork2.ObjectFactory接口(spring) aI8wy-3I  
;2L=WR%  
struts.objectFactory.spring.autoWire VZAdc*X  
      Whether Spring should autoWire or not ]3d&S5zU  
      是否自动绑定Spring Cf`UMQ a  
2<ef&?ljk  
struts.objectFactory.spring.useClassCache a P{xMB#1h  
      Whether Spring should use its class cache or not `(Q58wR}  
      是否spring应该使用自身的cache x-tA {_:  
:6HMb^4  
struts.objectTypeDeterminer }-r"W7]k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class HoRLy*nU  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 HS(<wI  
g-+p(Ll|  
struts.serve.static.browserCache GExG1n-  
If static content served by the Struts filter should set browser caching header properties or not )B}]0`z:P  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `&pb`P<`  
Rx`0VQ  
struts.serve.static ^<y$+HcH  
      Whether the Struts filter should serve static content or not 6\::Ku4_2  
      是否struts过滤器应该提供静态内容 .-RWlUe;,  
DU 8)c$  
struts.tag.altSyntax c#HocwP@  
      Whether to use the alterative syntax for the tags or not zR{TWk]  
      是否可以用替代的语法替代tags !^8'LMY<I  
_I$]L8hC  
struts.ui.templateDir zcxG%? Q  
      The directory containing UI templates HnY: gu  
      UI templates的目录夹 D(h|r^5  
NoKYHN^*w  
struts.ui.theme Pyyx/u+?@  
      The default UI template theme 8i:b~y0  
      默认的UI template主题 l  
A@DIq/^xM  
struts.url.http.port YDmFR,047  
      The HTTP port used by Struts URLs Q'A->I<;_s  
      设置http端口 7s.sbP~  
Pc4sReo'  
struts.url.https.port Nm; ka&'  
      The HTTPS port used by Struts URLs ,%,}[q?]d  
      设置https端口 }>0UaK  
aX~iY ~?_  
struts.url.includeParams *{-XN  
      The default includeParams method to generate Struts URLs r;Dl  
      在url中产生 默认的includeParams Q7Dkh KT  
Xt7uCs  
CV& SNA  
struts.velocity.configfile 9k *'5(D4S  
      The Velocity configuration file path %*s[s0$c  
      velocity配置文件路径 lq%s/l  
BRW   
struts.velocity.contexts wiFckF/  
      List of Velocity context names .79'c%3}  
      velocity的context列表 JgxOxZS`@  
leyX: +  
GQ[\R&]q<  
struts.velocity.manager.classname ~Aq UT]l  
      org.apache.struts2.views.velocity.VelocityManager implementation class kj-S d^  
      org.apache.struts2.views.velocity.VelocityManager接口名 8<g5.$xyz  
t=yM}#r$  
struts.velocity.toolboxlocation XGO_n{ x  
      The location of the Velocity toolbox zb9$  
      velocity工具盒的位置 UCq+F96j  
struts.xslt.nocache 4{J%`H`Q!  
      Whether or not XSLT templates should not be cached c5t?S@b  
      是否XSLT模版应该被缓存 Z-/ E$j  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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