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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;I4vPh5Q  
1/97_:M0~F  
struts.action.extension ?06gu1z/  
      The URL extension to use to determine if the request is meant for a Struts action 5Y *4a%"  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6|eqQ+(A  
Tw-NIT)  
struts.configuration WGv47i  
      The org.apache.struts2.config.Configuration implementation class |]< 3cW+  
        org.apache.struts2.config.Configuration接口名 gy.UTAs N  
 LSC[S:  
struts.configuration.files Gn2{C%  
      A list of configuration files automatically loaded by Struts ga +, P  
      struts自动加载的一个配置文件列表 ]d1'5F][H  
9 5,]86  
struts.configuration.xml.reload V#ELn[k  
      Whether to reload the XML configuration or not Vgj#-7bdyi  
      是否加载xml配置(true,false) 5&n:i,  
uRb48Qy2  
struts.continuations.package ]yPK}u  
      The package containing actions that use Rife continuations  R0Vt_7  
      含有actions的完整连续的package名称 Eg)24C R 4  
DzpWU8j  
struts.custom.i18n.resources H\>{<`sD;f  
      Location of additional localization properties files to load ^{}G4BEY  
      加载附加的国际化属性文件(不包含.properties后缀) yI^Yh{  
)gdeFA V  
struts.custom.properties I/(U0`%  
      Location of additional configuration properties files to load :M"+  
      加载附加的配置文件的位置 ({E,}x  
u !BU^@P  
}k }=e  
struts.devMode  nYx /q  
      Whether Struts is in development mode or not o ]*yI[\  
      是否为struts开发模式 x {NBhq(4  
G J%^hr`P  
struts.dispatcher.parametersWorkaround E*YmHJ:k  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic B=cA$620  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }+!"mJx@  
in1rDN%Vi  
struts.enable.DynamicMethodInvocation dEk#"cvg  
      Allows one to disable dynamic method invocation from the URL HgY@M  
        允许动态方法调用 "&={E{pQ  
liS'  
struts.freemarker.manager.classname b=EI?XwJ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !P{ /;Q  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 |Y!^E % *  
cNd&C'/N  
struts.i18n.encoding `Q*`\-8J  
      The encoding to use for localization messages {bXN[=j  
      国际化信息内码 *ak0(yLn)  
-9dZT  
struts.i18n.reload (u 7Lh>6%  
      Whether the localization messages should automatically be reloaded 6y^ zC?  
      是否国际化信息自动加载 L/u|90) L  
+ay C 0  
struts.locale g4^-B  
      The default locale for the Struts application GN|"RuQ  
      默认的国际化地区信息 PlB3"{}0Q  
*O$|,EsY  
struts.mapper.class A"7YkOfwH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class WR #XPbk  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 D|5mNX %e  
A$wC !P|;  
struts.multipart.maxSize =aVvv+T  
      The maximize size of a multipart request (file upload) 7]rIq\bM  
      multipart请求信息的最大尺寸(文件上传用) nFlN{_/  
p7YYAh@x\  
struts.multipart.parser k1z`92"  
      The org.apache.struts2.dispatcher.multipart. @K]`!=vUk  
      MultiPartRequest parser implementation for a multipart request (file upload) EGD{nE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @{@b^tk  
yP]>eLTSd  
/H<{p$Wd  
struts.multipart.saveDir T9c7cp[  
      The directory to use for storing uploaded files *<^C0:i(  
      设置存储上传文件的目录夹 b]u=I za  
r%;|gIky  
struts.objectFactory M5 VW1Ns  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^KbR@Ah  
      com.opensymphony.xwork2.ObjectFactory接口(spring) --]blP7  
9Z -2MF  
struts.objectFactory.spring.autoWire 5J`w8[;  
      Whether Spring should autoWire or not %X_A#9  
      是否自动绑定Spring XuP%/\  
"w"a0nv  
struts.objectFactory.spring.useClassCache W"%n5)  
      Whether Spring should use its class cache or not .gy:Pl]w  
      是否spring应该使用自身的cache {m U%.5  
@]Vcl"t  
struts.objectTypeDeterminer sO ) H#G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |}d^lQ9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 eztK`_n  
QuS=^,]  
struts.serve.static.browserCache :?f+*  
If static content served by the Struts filter should set browser caching header properties or not QP(d77 n  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L!JC)p.  
;.jj>1=Tnl  
struts.serve.static R_j.k3r4d  
      Whether the Struts filter should serve static content or not yM 7{v$X0  
      是否struts过滤器应该提供静态内容 o135Xh$_>'  
vL_yM  
struts.tag.altSyntax ! #Pn_e  
      Whether to use the alterative syntax for the tags or not %scw]oF  
      是否可以用替代的语法替代tags B6F!"  
f8-`bb  
struts.ui.templateDir x6K_!L*Fx]  
      The directory containing UI templates Ho(M O!(  
      UI templates的目录夹 \L>XF'o  
5"h4XINZ  
struts.ui.theme 6KGT?d  
      The default UI template theme ;X+0,K3c  
      默认的UI template主题 ubB1a_7  
rZ,qHM  
struts.url.http.port MZ%J ]Nd  
      The HTTP port used by Struts URLs ds*gL ~k^  
      设置http端口 1R_@C.I  
qVU<jt  
struts.url.https.port O\7x+^.  
      The HTTPS port used by Struts URLs X#T|.mCdC  
      设置https端口 6c+29@  
Pac ^=|h<q  
struts.url.includeParams h HHR]e5:  
      The default includeParams method to generate Struts URLs ,%Z&*/*Oh  
      在url中产生 默认的includeParams G>pedE\  
5!ngM  
K cex%.  
struts.velocity.configfile *ssw`}yE'  
      The Velocity configuration file path D;JZ0."  
      velocity配置文件路径 kQU4s)J  
+m JG:n  
struts.velocity.contexts _*}D@yy&  
      List of Velocity context names \@PMj"p|:  
      velocity的context列表 i$pUUK  
8/2Wq~&  
UK OhsE  
struts.velocity.manager.classname F$>#P7ph\a  
      org.apache.struts2.views.velocity.VelocityManager implementation class >c@! EPS  
      org.apache.struts2.views.velocity.VelocityManager接口名 t[k ['<G  
h<3bv&oI .  
struts.velocity.toolboxlocation Hd4 ~v0eS  
      The location of the Velocity toolbox iM!V4Wih6  
      velocity工具盒的位置 3T(ft^~  
struts.xslt.nocache !_Y%+Rkp0  
      Whether or not XSLT templates should not be cached ;nh_L(  
      是否XSLT模版应该被缓存 ],AtR1k  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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