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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sR[!6[AA  
`9+R]C]z8  
struts.action.extension vy{k"W&S  
      The URL extension to use to determine if the request is meant for a Struts action !H[01  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1q3"qY H  
G2?#MO  
struts.configuration ey,f igjd.  
      The org.apache.struts2.config.Configuration implementation class XWQ `]m)  
        org.apache.struts2.config.Configuration接口名 tHHJ|4C  
R! On  
struts.configuration.files EP>Lh7E9n  
      A list of configuration files automatically loaded by Struts ('UTjV  
      struts自动加载的一个配置文件列表 4,Oa(b  
bt_c$TN  
struts.configuration.xml.reload 19c_=$mV  
      Whether to reload the XML configuration or not QKB+mjMH#x  
      是否加载xml配置(true,false) ]'M B3@T  
@ =~k[o  
struts.continuations.package .P/0 `A{&  
      The package containing actions that use Rife continuations }LKD9U5;8  
      含有actions的完整连续的package名称 B{D4.!a  
cL ~WDW/  
struts.custom.i18n.resources -,T!/E  
      Location of additional localization properties files to load V,0$mBYa  
      加载附加的国际化属性文件(不包含.properties后缀) Wf"GA i  
OKK Ko`RN  
struts.custom.properties sQkijo.  
      Location of additional configuration properties files to load s-+-?$K  
      加载附加的配置文件的位置 "~._G5i.  
.%e>>U>F  
bv'>4a  
struts.devMode -N wic|  
      Whether Struts is in development mode or not OuEcoIK  
      是否为struts开发模式 ]@<VLP?  
KYJP`va6k  
struts.dispatcher.parametersWorkaround +xO3<u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w0oTV;yh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) CEaAtAM  
E;x-O)(&  
struts.enable.DynamicMethodInvocation , QWus"5H  
      Allows one to disable dynamic method invocation from the URL <!XunXh  
        允许动态方法调用 #$-?[c$>  
oYTLC@98}  
struts.freemarker.manager.classname o{fYoBgr  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U5H%wA['m  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 TK[[6IB  
L6Brs"9B  
struts.i18n.encoding zGyRzxFN  
      The encoding to use for localization messages C$~ly=@  
      国际化信息内码 ~jzLw@"~$^  
:{iH(ae;  
struts.i18n.reload @4 8!e-W  
      Whether the localization messages should automatically be reloaded +$nNYD  
      是否国际化信息自动加载 \G>C{v;  
5[jS(1a`c  
struts.locale 5X+`aB  
      The default locale for the Struts application QOYMT( j  
      默认的国际化地区信息 N{Z+  
ej&.tNvq  
struts.mapper.class 9X=<uS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `y^\c#k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 amC)t8L?  
Ao}<a1f  
struts.multipart.maxSize dVj2x-R)  
      The maximize size of a multipart request (file upload) :i?6#_2IC  
      multipart请求信息的最大尺寸(文件上传用) LO)!Fj4|  
Y z&!0Hfd  
struts.multipart.parser d7[^p N  
      The org.apache.struts2.dispatcher.multipart. %aMC[i  
      MultiPartRequest parser implementation for a multipart request (file upload) G$V=\60a-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `x#S. b  
P(b[|QF  
0RMW>v/7kL  
struts.multipart.saveDir hk:>*B}  
      The directory to use for storing uploaded files I[ \7Bf  
      设置存储上传文件的目录夹 uGb+ *tD  
d4  \  
struts.objectFactory U'(zKqC   
      The com.opensymphony.xwork2.ObjectFactory implementation class H@G$K@L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *8?2+ )5"  
L@s6u +uu  
struts.objectFactory.spring.autoWire hx9t{Zi  
      Whether Spring should autoWire or not LOcZadr  
      是否自动绑定Spring !37I2*+4  
0 3v&k  
struts.objectFactory.spring.useClassCache Qc&Y|]p"  
      Whether Spring should use its class cache or not yTg|L9  
      是否spring应该使用自身的cache tJ K58m$  
lW-h @  
struts.objectTypeDeterminer {TpbUj0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 76@W:L*J$J  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `G\Gk|4; 2  
0{z8pNrc  
struts.serve.static.browserCache l`N#~<.  
If static content served by the Struts filter should set browser caching header properties or not %\sE\]K  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 YCltS!k  
O{~Xp!QQt  
struts.serve.static G>0d^bx;E  
      Whether the Struts filter should serve static content or not \|QB;7u  
      是否struts过滤器应该提供静态内容 hN!;Tny  
L +Uq4S^  
struts.tag.altSyntax T*%GeY [  
      Whether to use the alterative syntax for the tags or not UH%H9; ,$]  
      是否可以用替代的语法替代tags SN ?Z7  
-_5Dk'R#`  
struts.ui.templateDir ZM-P  
      The directory containing UI templates :2S?|7U4  
      UI templates的目录夹 T%6JVFD  
"X2'k@s`  
struts.ui.theme ]goJ- &  
      The default UI template theme a<\n$E#q  
      默认的UI template主题 D|)_c1g  
|rk.t g9  
struts.url.http.port 06%-tAq:  
      The HTTP port used by Struts URLs }RadbJ{q=  
      设置http端口 RVwS<g)~1  
EMO {u  
struts.url.https.port cb]X27uww  
      The HTTPS port used by Struts URLs q#mL-3OQ  
      设置https端口 8b]4uI <  
=-:%~n g  
struts.url.includeParams o^X3YaS)  
      The default includeParams method to generate Struts URLs 9|<Li[  
      在url中产生 默认的includeParams Kq Jln)7  
J+IItO4%  
f<wYJGI  
struts.velocity.configfile -+1O*L!  
      The Velocity configuration file path dGOFSH  
      velocity配置文件路径 tmS2%1o  
i'H]N8,A  
struts.velocity.contexts 5Z; 5?\g  
      List of Velocity context names j]kgdAq>  
      velocity的context列表 Bc }o3oc  
[T =>QS@g  
eo4z!@pRN  
struts.velocity.manager.classname $zCCeRP  
      org.apache.struts2.views.velocity.VelocityManager implementation class a5t&{ajJ  
      org.apache.struts2.views.velocity.VelocityManager接口名 8j70X <R  
o"BED! /  
struts.velocity.toolboxlocation NO[A00m|OL  
      The location of the Velocity toolbox +&VY6(Zj+*  
      velocity工具盒的位置 r D <T  
struts.xslt.nocache H%Vf$1/TF  
      Whether or not XSLT templates should not be cached vA_,TS#Bo  
      是否XSLT模版应该被缓存 J?m/u6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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