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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <A<{,:5C  
@.osJ}FxA  
struts.action.extension !(mjyr  
      The URL extension to use to determine if the request is meant for a Struts action wAX1l*`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O#x*iI%  
3 j!3E  
struts.configuration b_,|>U  
      The org.apache.struts2.config.Configuration implementation class uXI_M)  
        org.apache.struts2.config.Configuration接口名 8;z6=.4xtg  
IYqBQnX}oM  
struts.configuration.files @En^wN  
      A list of configuration files automatically loaded by Struts <p}R~zk  
      struts自动加载的一个配置文件列表 aHs^tPg  
6,"IDH|ND  
struts.configuration.xml.reload =CK4.   
      Whether to reload the XML configuration or not 5j:0Yt  
      是否加载xml配置(true,false) w<C#Bka  
h "Xg;(K  
struts.continuations.package g+DzscIT  
      The package containing actions that use Rife continuations 9!f/aI  
      含有actions的完整连续的package名称 uG?_< mun  
Q Btnx[  
struts.custom.i18n.resources l=]cy-H  
      Location of additional localization properties files to load aY3^C q(r  
      加载附加的国际化属性文件(不包含.properties后缀) v$~QU{ &  
?;KKw*  
struts.custom.properties zw+B9PYqX  
      Location of additional configuration properties files to load &yGaCq;0  
      加载附加的配置文件的位置 $h^wG)s2P  
,^?^ dB  
|s)Rxq){"V  
struts.devMode 8 ![|F:  
      Whether Struts is in development mode or not ,O.3&Nz,c  
      是否为struts开发模式 -c(F1l  
0FGe=$vD  
struts.dispatcher.parametersWorkaround vK 7^*qr;j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HqI t74+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) hD\rtW  
_Bj)r}~7#  
struts.enable.DynamicMethodInvocation wkP#Z"A0~  
      Allows one to disable dynamic method invocation from the URL (2$( ?-M  
        允许动态方法调用 >QA uEM  
aki _RG>U'  
struts.freemarker.manager.classname HKF H/eV  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class (]b!{kS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 =fu :@+  
MA;1 ;uI,  
struts.i18n.encoding U2{ dN>  
      The encoding to use for localization messages "Weg7mc#  
      国际化信息内码 +hvO^?4j  
`1'6bp`Z  
struts.i18n.reload &@%W29:  
      Whether the localization messages should automatically be reloaded UH]l9Aq$P  
      是否国际化信息自动加载 I3 .x9  
KQacoUHrK?  
struts.locale `n$I]_}/%  
      The default locale for the Struts application :/y1yM  
      默认的国际化地区信息 z."a.>fPaO  
`^bgUmJ~  
struts.mapper.class D-8O+.@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6WV\}d:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 J%x6  
xm%Um\Pb7  
struts.multipart.maxSize =jlt5 z  
      The maximize size of a multipart request (file upload) e "/;7:J5\  
      multipart请求信息的最大尺寸(文件上传用) ]x\-$~E  
+lJG(Qd  
struts.multipart.parser p+l!6  
      The org.apache.struts2.dispatcher.multipart. ElS9?Q+  
      MultiPartRequest parser implementation for a multipart request (file upload) 9[1`jtm  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3mYiQ2  
i%ZW3MrY~  
5V5%/FU m  
struts.multipart.saveDir f&}k^>N#3  
      The directory to use for storing uploaded files +SsK21f"r  
      设置存储上传文件的目录夹 n,=VQ Ou  
I([!]z  
struts.objectFactory Nndddk`  
      The com.opensymphony.xwork2.ObjectFactory implementation class j*F`"df  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @.G[s)x  
~7Ts_:E-  
struts.objectFactory.spring.autoWire ^[]}R:  
      Whether Spring should autoWire or not #Xhdn\7  
      是否自动绑定Spring x\F,SEj  
-`<kCW"  
struts.objectFactory.spring.useClassCache 20vXSYa~  
      Whether Spring should use its class cache or not g) p,5BADm  
      是否spring应该使用自身的cache >2~+.WePu  
uvtF_P/  
struts.objectTypeDeterminer u`y><w4i  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J\d3N7_d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 MxSM@3v(  
)ap_Z6  
struts.serve.static.browserCache 3= xhoRX  
If static content served by the Struts filter should set browser caching header properties or not /V8}eZ97  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \zieyE  
(Q%'N3gk  
struts.serve.static ~\=1'D^6CK  
      Whether the Struts filter should serve static content or not f` :i.Sr  
      是否struts过滤器应该提供静态内容 /J04^ 6  
1"/He ` 4  
struts.tag.altSyntax  yyv8gH  
      Whether to use the alterative syntax for the tags or not m-H-6`]  
      是否可以用替代的语法替代tags 9;Itqe{8w  
e_s&L,ze  
struts.ui.templateDir ?47@ o1  
      The directory containing UI templates 0TN;86Mo  
      UI templates的目录夹 p[<Dk$7K  
QFg sq{  
struts.ui.theme Y]{ >^`G  
      The default UI template theme Swp;HW7x  
      默认的UI template主题 b8LoIY*  
fQL"O}Z  
struts.url.http.port 1U^A56CN  
      The HTTP port used by Struts URLs /rq VB|M  
      设置http端口 S|apw7C  
m>4ahue$  
struts.url.https.port M@4UGM`J  
      The HTTPS port used by Struts URLs >tO`r.5u9  
      设置https端口 RY c!~Wh~Y  
L,mQ   
struts.url.includeParams IB# @yH  
      The default includeParams method to generate Struts URLs ?shIj;c[  
      在url中产生 默认的includeParams |;.o8}  
\"CZI<=TB  
!PrwH;  
struts.velocity.configfile _@ *+~9%8p  
      The Velocity configuration file path N5]0/,I}  
      velocity配置文件路径 } b=}uiR#  
:T]o)  
struts.velocity.contexts si&S%4(  
      List of Velocity context names ]xX$<@HR  
      velocity的context列表  emK$`9  
Kl2lbe7  
)\6&12rj  
struts.velocity.manager.classname X5X?&* %{  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0{dz5gUde  
      org.apache.struts2.views.velocity.VelocityManager接口名 Lb;zBmwB  
N@O8\oQG  
struts.velocity.toolboxlocation )dY=0"4Z  
      The location of the Velocity toolbox w" SoeU  
      velocity工具盒的位置 _<a7CCg  
struts.xslt.nocache 9uRF nzJVx  
      Whether or not XSLT templates should not be cached M9y <t'  
      是否XSLT模版应该被缓存 TUHi5K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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