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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ew.jsa`TrW  
cx ~XG  
struts.action.extension ~@\sN+VS  
      The URL extension to use to determine if the request is meant for a Struts action |SfCuV#g/<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 GU|(m~,`  
.3'U(U  
struts.configuration oLS/  
      The org.apache.struts2.config.Configuration implementation class ym8pB7E7%  
        org.apache.struts2.config.Configuration接口名 tfCK^{  
(PC)R9r5  
struts.configuration.files b5S4C2Ynq  
      A list of configuration files automatically loaded by Struts fm0]nT   
      struts自动加载的一个配置文件列表 g)1`A 24  
sj3[ny;b  
struts.configuration.xml.reload yBRYEqS+  
      Whether to reload the XML configuration or not Js<DVe,  
      是否加载xml配置(true,false) /,,IM/(6^  
C"QB`f:  
struts.continuations.package O)!S[5YI  
      The package containing actions that use Rife continuations z5J$".O`  
      含有actions的完整连续的package名称 &0`i(l4]l  
$x*(D|\'<  
struts.custom.i18n.resources ?[=OQ/E  
      Location of additional localization properties files to load x }@P  
      加载附加的国际化属性文件(不包含.properties后缀) Jr=XVQ(F  
JRR,ooN*i  
struts.custom.properties 0!b9%I=j  
      Location of additional configuration properties files to load (h|E@gRa  
      加载附加的配置文件的位置 \4KV9wm  
aH_0EBRc  
+i~kqiy.  
struts.devMode 8shx7"  
      Whether Struts is in development mode or not B|"-Ed  
      是否为struts开发模式 {kghZur  
Vb)NWXmyu  
struts.dispatcher.parametersWorkaround (]` rri*^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  20]p<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ?IG[W+M8  
s o7.$]aV  
struts.enable.DynamicMethodInvocation t,u;"%go  
      Allows one to disable dynamic method invocation from the URL Kk).KgR  
        允许动态方法调用 "QvTn=  
N F,<^ u  
struts.freemarker.manager.classname _fccZf(yC.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @R Jr ~y0  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [:zP]l.|  
^'n;W<\p)  
struts.i18n.encoding c,:nWf  
      The encoding to use for localization messages p^1~o/  
      国际化信息内码 S%j W} v';  
X"sJiFS  
struts.i18n.reload N 9s+Tm  
      Whether the localization messages should automatically be reloaded L_tjclk0J  
      是否国际化信息自动加载 @)C.IQ~  
1H?I?IT30  
struts.locale w*]FJ-b<.j  
      The default locale for the Struts application fDRG+/q(+  
      默认的国际化地区信息 F5y&"Y_  
Qff.QI,  
struts.mapper.class Yd(<;JKF[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class vY7 @1_"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X}wo$t  
]_j= { 0%  
struts.multipart.maxSize p=m:^9/  
      The maximize size of a multipart request (file upload) P;eXUF+jn  
      multipart请求信息的最大尺寸(文件上传用) B1A:}#  
T!I3.  
struts.multipart.parser +KaVvf  
      The org.apache.struts2.dispatcher.multipart. pqTaN=R8  
      MultiPartRequest parser implementation for a multipart request (file upload) g;Zy3   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +sV~#%%  
^H -a@QM  
gquvVj1oT  
struts.multipart.saveDir ,pY:kQ  
      The directory to use for storing uploaded files G^';9 UK  
      设置存储上传文件的目录夹 \XO'7bNu-  
ia (&$a8X  
struts.objectFactory l&*= .Zc7!  
      The com.opensymphony.xwork2.ObjectFactory implementation class A+j!VM   
      com.opensymphony.xwork2.ObjectFactory接口(spring) Ldj*{t `5  
0gG r/78   
struts.objectFactory.spring.autoWire Y^nm{;G+  
      Whether Spring should autoWire or not yzMGZi`ut  
      是否自动绑定Spring fwiP3*j+Nn  
UmArl)R/  
struts.objectFactory.spring.useClassCache nwMq~I*1  
      Whether Spring should use its class cache or not _ds;:*N+qA  
      是否spring应该使用自身的cache 0 6M?ecN  
JL>frS3M  
struts.objectTypeDeterminer UZs'H"K  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :>/6:c?atG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 CYlS8j  
LJom+PxF$x  
struts.serve.static.browserCache h#c7v !g  
If static content served by the Struts filter should set browser caching header properties or not )TEm1\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 /::Y &&$f  
K9]zUe&#w  
struts.serve.static  fZ&' _  
      Whether the Struts filter should serve static content or not "LSzF_mK  
      是否struts过滤器应该提供静态内容 $ai;8)C6  
5^R?+<rd  
struts.tag.altSyntax (tX)r4VU  
      Whether to use the alterative syntax for the tags or not J7qTE8W=  
      是否可以用替代的语法替代tags :wN !E{0j  
>q0%yh-  
struts.ui.templateDir 2% /Kf}+  
      The directory containing UI templates 6`vW4]zu  
      UI templates的目录夹 +xgP&nw[-  
3Fxr=  
struts.ui.theme a4gX@&it_k  
      The default UI template theme AW E ab  
      默认的UI template主题 i]s%tEZ1  
Y%?*Lj|  
struts.url.http.port bdY:-8!3  
      The HTTP port used by Struts URLs 3m9b  
      设置http端口 (,tu7u{  
[ [w |  
struts.url.https.port nMZ)x-  
      The HTTPS port used by Struts URLs $:\`E 56\  
      设置https端口 5KDCmw  
)0]U"Nf ho  
struts.url.includeParams UG=]8YY!  
      The default includeParams method to generate Struts URLs |2%|=   
      在url中产生 默认的includeParams 0AdxV?6z  
Fi;H   
0~K&P#iR  
struts.velocity.configfile RKE"}|i +S  
      The Velocity configuration file path JT!9LNh;R`  
      velocity配置文件路径 .c:h!-D;  
sei2\l8q  
struts.velocity.contexts PEm2w#X%L  
      List of Velocity context names 5&h">_j  
      velocity的context列表 N>,`TsUwW  
"DA%vdu  
Yb4ku7}  
struts.velocity.manager.classname kY!zBk  
      org.apache.struts2.views.velocity.VelocityManager implementation class !_QT{H  
      org.apache.struts2.views.velocity.VelocityManager接口名 F>3 o0ke}  
k& +gkJm  
struts.velocity.toolboxlocation _ziSH 3(  
      The location of the Velocity toolbox dq`{fqGl  
      velocity工具盒的位置 8e3eQ  
struts.xslt.nocache K!.t}s.t  
      Whether or not XSLT templates should not be cached E>f{j:M  
      是否XSLT模版应该被缓存 l)dE7$H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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