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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;c;PNihg  
06~HVv  
struts.action.extension pTk1iGfB  
      The URL extension to use to determine if the request is meant for a Struts action tQrkRg(E:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )gP0+W!u  
Jp]eFaqp  
struts.configuration :,BKB*a\  
      The org.apache.struts2.config.Configuration implementation class KsBi<wY  
        org.apache.struts2.config.Configuration接口名 7!-y72qx  
E0a &1j  
struts.configuration.files l-RwCw4f  
      A list of configuration files automatically loaded by Struts isR|K9qf^  
      struts自动加载的一个配置文件列表 0N19R5NN8  
q+Cq&|4 ?2  
struts.configuration.xml.reload 9`p|>d!.  
      Whether to reload the XML configuration or not uGMmS9v$ J  
      是否加载xml配置(true,false) ]:vo"{*C  
M;K%=l$NG  
struts.continuations.package &p#$}tm  
      The package containing actions that use Rife continuations vZl]C%  
      含有actions的完整连续的package名称 G@Y!*ZH*f  
/htM/pR  
struts.custom.i18n.resources Yx{qVU  
      Location of additional localization properties files to load yxz"9PE/P  
      加载附加的国际化属性文件(不包含.properties后缀) ~i y]X:U  
N9A#@c0O  
struts.custom.properties `c~J&@|  
      Location of additional configuration properties files to load 8e3I@mv  
      加载附加的配置文件的位置 .#[==  
&KS*rHgt?  
v8!Ts"  
struts.devMode xLmgr72D  
      Whether Struts is in development mode or not ;5 JzrbtL  
      是否为struts开发模式  N\9 Wxz$  
7; e$ sr  
struts.dispatcher.parametersWorkaround ^yo~C3 r~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M$0-!$RY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CFU'- #b  
QFtf.")[.  
struts.enable.DynamicMethodInvocation aX$Q}mgb  
      Allows one to disable dynamic method invocation from the URL F+3}Gkn  
        允许动态方法调用 H<`<5M8  
at-+%e  
struts.freemarker.manager.classname <//#0r*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?|;q=p`t-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9Oe~e  
s}3`%?,6y  
struts.i18n.encoding J>XMaI})U  
      The encoding to use for localization messages Z.D O 2=+=  
      国际化信息内码 M)JKe!0ad1  
= olmBXn/  
struts.i18n.reload j aEUz5  
      Whether the localization messages should automatically be reloaded .h7`Q{  
      是否国际化信息自动加载 :7 P/ZC%  
6S GV}dAx  
struts.locale / !@@  
      The default locale for the Struts application 2`;&Uwt  
      默认的国际化地区信息 :K)7_]y  
t0*,%ge:<  
struts.mapper.class J )DFH~p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class r$ 8 ^K\oF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 W#.+C6/  
C3"5XR_Ov  
struts.multipart.maxSize -0>gq$/N=^  
      The maximize size of a multipart request (file upload) qTuQ]*[-  
      multipart请求信息的最大尺寸(文件上传用) ?~p]Ey}~9  
[<,i}z  
struts.multipart.parser Ump$N#  
      The org.apache.struts2.dispatcher.multipart. z?DI4 O#Up  
      MultiPartRequest parser implementation for a multipart request (file upload) _ / >JM0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) '=X)0GG  
j*' +f~ A  
T{:~v+I=  
struts.multipart.saveDir \QvoL  
      The directory to use for storing uploaded files .;$Ub[  
      设置存储上传文件的目录夹 9k.5'#  
' %&gER  
struts.objectFactory MOia] 5  
      The com.opensymphony.xwork2.ObjectFactory implementation class bQlvb  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <9bfX 91  
 .V   
struts.objectFactory.spring.autoWire @$aGVEcU$  
      Whether Spring should autoWire or not o^ zrF  
      是否自动绑定Spring 2t,N9@u=UN  
m0Geq.  
struts.objectFactory.spring.useClassCache [Xyu_I-c  
      Whether Spring should use its class cache or not 0;Oe&Y  
      是否spring应该使用自身的cache d2a*xDkv  
|W#(+m  
struts.objectTypeDeterminer !y\r.fm!A  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H-&T)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1p5n}|  
B{ Ab #  
struts.serve.static.browserCache $-MVsa9>I  
If static content served by the Struts filter should set browser caching header properties or not o"!C8s_6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hl]q6ZK!6  
MO>9A,&f  
struts.serve.static ZccvZl ;b  
      Whether the Struts filter should serve static content or not ak A7))Q  
      是否struts过滤器应该提供静态内容 2z9s$tp  
[eO^C  
struts.tag.altSyntax 1.tAl6]  
      Whether to use the alterative syntax for the tags or not ? Xl;>}zj  
      是否可以用替代的语法替代tags lHUd<kEC  
"qrde4O  
struts.ui.templateDir 0MI4"<  
      The directory containing UI templates " vka7r  
      UI templates的目录夹 lQM&q  
ZfMs6`Wv 1  
struts.ui.theme @PT([1C  
      The default UI template theme -|GKtZ]}  
      默认的UI template主题 w *M&@+3I  
RY .@_{  
struts.url.http.port g\% Z+Dc  
      The HTTP port used by Struts URLs M u i\E  
      设置http端口 CkV5PU  
GEK7q<  
struts.url.https.port 45?% D}  
      The HTTPS port used by Struts URLs Zz1nXUZ  
      设置https端口 c'.XC}  
Kh$Q9$  
struts.url.includeParams Y}]-o9Rl  
      The default includeParams method to generate Struts URLs %s! |,Cu  
      在url中产生 默认的includeParams h UC157  
q{ [!" ,  
C-@[=  
struts.velocity.configfile /9e?uC6  
      The Velocity configuration file path *`q?`#1&&.  
      velocity配置文件路径 ]OtnekkK$  
P)l_ :;&  
struts.velocity.contexts 1<tJ3>Xl  
      List of Velocity context names P8(hHuO  
      velocity的context列表 31~nay15  
>%ovL8F  
Cz)&R^  
struts.velocity.manager.classname j4<K0-?  
      org.apache.struts2.views.velocity.VelocityManager implementation class n y cn  
      org.apache.struts2.views.velocity.VelocityManager接口名 P(3k1SM  
}T0O~c{$i  
struts.velocity.toolboxlocation &+n9T?+b  
      The location of the Velocity toolbox R RE8|%p;B  
      velocity工具盒的位置 DXo]O}VF  
struts.xslt.nocache o] Xt2E  
      Whether or not XSLT templates should not be cached O%3Hp.|!  
      是否XSLT模版应该被缓存 |r*)U(c`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五