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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 lZf=#  
{]V+C=`  
struts.action.extension u#r[JF9LP  
      The URL extension to use to determine if the request is meant for a Struts action +4]31d&3  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h}knn3"S  
5w#7B  
struts.configuration T(2*P5%&  
      The org.apache.struts2.config.Configuration implementation class W_%@nm\y  
        org.apache.struts2.config.Configuration接口名 CPt62j8  
1b4/  
struts.configuration.files #9FY;~  
      A list of configuration files automatically loaded by Struts NUp,In_  
      struts自动加载的一个配置文件列表 0AWOdd>.  
rIJv(&l  
struts.configuration.xml.reload :j}4F  
      Whether to reload the XML configuration or not ^DH*\ee  
      是否加载xml配置(true,false) t+<?$I[  
fNnX{Wq  
struts.continuations.package @=G6fW:  
      The package containing actions that use Rife continuations GZCXm+  
      含有actions的完整连续的package名称 0V[`zOO(o  
#$;i 4a  
struts.custom.i18n.resources Y `ySNC  
      Location of additional localization properties files to load E@%9u#  
      加载附加的国际化属性文件(不包含.properties后缀) Tw+V$:$$  
tX@G`Mr(  
struts.custom.properties R7Z7o4jg  
      Location of additional configuration properties files to load "B3&v%b  
      加载附加的配置文件的位置 b^q8s4(   
i}E&mv'  
3Eu;_u_  
struts.devMode $l+DkR+  
      Whether Struts is in development mode or not 3]cW08"c  
      是否为struts开发模式 OuuN~yC  
o~J~-$T{  
struts.dispatcher.parametersWorkaround q88;{?T1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic {Ne5*HFV  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _(1Shm  
HBp$   
struts.enable.DynamicMethodInvocation :N>n1tHL;A  
      Allows one to disable dynamic method invocation from the URL zPn 2  
        允许动态方法调用 9_ru*j\  
QuWW a|g^.  
struts.freemarker.manager.classname lNs;-`I~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7+;$_,Xo<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 fjP(r+[  
Y~"5HP|  
struts.i18n.encoding c[<>e#s+;  
      The encoding to use for localization messages c3]`W7E6L  
      国际化信息内码 xixdv{M<FF  
c]1\88  
struts.i18n.reload YQ$EN>.eO  
      Whether the localization messages should automatically be reloaded _CImf1  
      是否国际化信息自动加载 w8iXuRv  
/*kc|V  
struts.locale V N<omi+4  
      The default locale for the Struts application jL]Y;T8  
      默认的国际化地区信息 #Bo3 :B8  
!LAC_ b  
struts.mapper.class A-*y[/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 2PTAIm Rq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J_`a}ox  
u/ZV35z  
struts.multipart.maxSize a4E{7c  
      The maximize size of a multipart request (file upload) iRK&-wn  
      multipart请求信息的最大尺寸(文件上传用) Xt9vTCox  
Sk7sxy<F'  
struts.multipart.parser  e gdbv  
      The org.apache.struts2.dispatcher.multipart. *VV#o/Q p  
      MultiPartRequest parser implementation for a multipart request (file upload) Ouos f1  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) #ni:Bwtl{  
G5,g$yNs  
?ytY8`PC  
struts.multipart.saveDir a>8&B  
      The directory to use for storing uploaded files 6QM$aLLP?  
      设置存储上传文件的目录夹 dng^#|X)?  
>i!y[F  
struts.objectFactory v9"|VhZ  
      The com.opensymphony.xwork2.ObjectFactory implementation class k(ho?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) [x8_ax} w  
1G<S'd+N  
struts.objectFactory.spring.autoWire .Q5zmaA]  
      Whether Spring should autoWire or not )j\9IdkU;y  
      是否自动绑定Spring T-a [  
XmAu n  
struts.objectFactory.spring.useClassCache 4l rKU^-  
      Whether Spring should use its class cache or not VKMgcfbHr/  
      是否spring应该使用自身的cache CEh!X=Nn  
7#+>1 "\  
struts.objectTypeDeterminer C'.^2s#e8  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 'PWX19  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y%!zXK`cl]  
{!>'# F^e  
struts.serve.static.browserCache :`B70D8ku  
If static content served by the Struts filter should set browser caching header properties or not ^ /ZNdwx  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 f)1*%zg%  
VOGx  
struts.serve.static vw w>]Z}  
      Whether the Struts filter should serve static content or not Zdy{e|-Zn  
      是否struts过滤器应该提供静态内容 V~MyX&`  
gN; E}AQt  
struts.tag.altSyntax tUT:v K`  
      Whether to use the alterative syntax for the tags or not (i;,D-  
      是否可以用替代的语法替代tags ;Z.sK-NJ4  
p)Fi{%bc  
struts.ui.templateDir 'y&DOy/|  
      The directory containing UI templates ~c`%k>$  
      UI templates的目录夹 eZ8DW6l*  
sv)4e)1  
struts.ui.theme vlC$0P  
      The default UI template theme I3;03X<2  
      默认的UI template主题 LbUH`0:%t  
p`)Mk<`dYD  
struts.url.http.port C 8KV<k  
      The HTTP port used by Struts URLs  {HbSty  
      设置http端口 ^;'FC vd  
Xmw%f[Xl  
struts.url.https.port Jp"[` m  
      The HTTPS port used by Struts URLs Vy7 )_D  
      设置https端口 45Lzq6  
oq9gFJG(  
struts.url.includeParams &G)/i*  
      The default includeParams method to generate Struts URLs nSp OTQ  
      在url中产生 默认的includeParams V;d<S@$  
U8OVn(qV  
$CDRIn50  
struts.velocity.configfile nhy:5eSK  
      The Velocity configuration file path #H;1)G(/  
      velocity配置文件路径 m+QZ|  
L~("C  
struts.velocity.contexts M'nzoRk  
      List of Velocity context names %$'Z"njO&  
      velocity的context列表 E<'V6T9bi  
5}TTf2&Xo#  
"Pl.G[Buc-  
struts.velocity.manager.classname U;#G $  
      org.apache.struts2.views.velocity.VelocityManager implementation class <9]J/w+  
      org.apache.struts2.views.velocity.VelocityManager接口名 eCjyx|:J  
[&sabM`Ul  
struts.velocity.toolboxlocation Ys]cJ]  
      The location of the Velocity toolbox -_BX\iP{  
      velocity工具盒的位置 cq~~a(IS  
struts.xslt.nocache 2oo\SmO]  
      Whether or not XSLT templates should not be cached J\hqK*/8  
      是否XSLT模版应该被缓存 Ze?n Q-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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