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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i#&z2h-b  
S$f9m  
struts.action.extension O#n8=B4  
      The URL extension to use to determine if the request is meant for a Struts action Htay-PB }  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ynmWW^dg  
<>n0arAn  
struts.configuration >Y&N8PHD  
      The org.apache.struts2.config.Configuration implementation class wc0jhHZO ?  
        org.apache.struts2.config.Configuration接口名 P!~MZ+7#&  
GSY(  
struts.configuration.files QEm|])V  
      A list of configuration files automatically loaded by Struts A ;G;^s  
      struts自动加载的一个配置文件列表 ucuSe!IcX  
:lX!\(E2  
struts.configuration.xml.reload H;D>|q  
      Whether to reload the XML configuration or not Qwz}B  
      是否加载xml配置(true,false) v&Ii^?CvO  
f& 0M*o,)  
struts.continuations.package qsF<!'m7`  
      The package containing actions that use Rife continuations wJg1Y0nh  
      含有actions的完整连续的package名称 W$QcDp]#p}  
[NQOrcAQ  
struts.custom.i18n.resources $[9%QQk5<L  
      Location of additional localization properties files to load n+! AnKq  
      加载附加的国际化属性文件(不包含.properties后缀) 1;d$#j  
8a &:6Zuo  
struts.custom.properties t![7uU.W  
      Location of additional configuration properties files to load fs|)l$Rd  
      加载附加的配置文件的位置 UN7EF/!Zz  
zUDg&-J3  
V@\gS"Tu  
struts.devMode 'QG xd!4  
      Whether Struts is in development mode or not SIe="YG]<  
      是否为struts开发模式 /;{P}-H`ei  
l+ 3[ KCE  
struts.dispatcher.parametersWorkaround k=2Lo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =31"fS@  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) { .n"Z  
+~St !QV%  
struts.enable.DynamicMethodInvocation 2:*w~|6>}5  
      Allows one to disable dynamic method invocation from the URL ?J' Y&  
        允许动态方法调用 a! (4Ch  
v.\*./-i  
struts.freemarker.manager.classname -Bt k 3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2;xIL]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 fTzvmC:g7  
h,QKd>4:CF  
struts.i18n.encoding 9*$t!r{B@  
      The encoding to use for localization messages +U:$(UV'A  
      国际化信息内码 z^KJ*E  
$JSL-NkE  
struts.i18n.reload qsL) }sC^8  
      Whether the localization messages should automatically be reloaded Gk967pC  
      是否国际化信息自动加载 5Y?L>QU"  
*v?`<)P#  
struts.locale du+y5dw  
      The default locale for the Struts application k2E0/ @f{k  
      默认的国际化地区信息 zFfoqb#*g  
5&xB6|k  
struts.mapper.class =6xrfDbN8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O[# 27_dH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 d[r#-h> dS  
kTKq/G,Ft  
struts.multipart.maxSize 01[NX? qEa  
      The maximize size of a multipart request (file upload) :Y-{Kn6`_  
      multipart请求信息的最大尺寸(文件上传用) }p=Jm)y  
,?PTcQF  
struts.multipart.parser %el"BSB  
      The org.apache.struts2.dispatcher.multipart. YpQ7)_s ?  
      MultiPartRequest parser implementation for a multipart request (file upload) g! cUF+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R{RwTN<  
R5"K]~  
|b[+I?X  
struts.multipart.saveDir ADZ};:]  
      The directory to use for storing uploaded files ~a%Z;Aj  
      设置存储上传文件的目录夹 BNz5lrfq  
+nUy,S?43  
struts.objectFactory 3WN`y8l  
      The com.opensymphony.xwork2.ObjectFactory implementation class "rTQG6`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Q)"C&) `l  
0YaA`  
struts.objectFactory.spring.autoWire k $M]3}$U  
      Whether Spring should autoWire or not Yj%U >),8  
      是否自动绑定Spring z MLK7+  
b6W2^tr-  
struts.objectFactory.spring.useClassCache Y_}mYvJW  
      Whether Spring should use its class cache or not h"`ucC8X  
      是否spring应该使用自身的cache m_hN*v Py  
$`APHjijN  
struts.objectTypeDeterminer d#6`&MR  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a5 *2h{i  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y;nZ=9Sw  
Z 1zVwHa_  
struts.serve.static.browserCache "~E[)^ANxD  
If static content served by the Struts filter should set browser caching header properties or not ,PlO8;5]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9F6F~::l}  
Hip&8NW  
struts.serve.static ;V^ 112|C  
      Whether the Struts filter should serve static content or not 1D16   
      是否struts过滤器应该提供静态内容 ]e >RK'  
~+bv6qxg]\  
struts.tag.altSyntax rJFc({ 0  
      Whether to use the alterative syntax for the tags or not YiYV>gaf"H  
      是否可以用替代的语法替代tags dlU'2Cl7d  
ur*T%b9&  
struts.ui.templateDir (E/lIou  
      The directory containing UI templates Fd?"-  
      UI templates的目录夹 17D"cP  
!)  S ?m  
struts.ui.theme ~n[d4qV&  
      The default UI template theme CQZgMY1{  
      默认的UI template主题 Mmj;'iYOwF  
Y^36>1.:  
struts.url.http.port } $uxJB  
      The HTTP port used by Struts URLs Mb"J@5P[4  
      设置http端口 aqYa{hXio  
: k7uGD  
struts.url.https.port 6`!Fv-  
      The HTTPS port used by Struts URLs 9k9_mjLZ  
      设置https端口 RZ6xdq}>  
yvgrIdEP  
struts.url.includeParams )Y]{HQd  
      The default includeParams method to generate Struts URLs !(q sD+  
      在url中产生 默认的includeParams t^`O{m<  
6UevpDB  
df*5,NV'-*  
struts.velocity.configfile iQ4);du  
      The Velocity configuration file path cKN$ =gd  
      velocity配置文件路径 ex+\nD>t4  
Wqc)Fv70m  
struts.velocity.contexts o]Ol8I  
      List of Velocity context names D,;\o7V  
      velocity的context列表 MepuIh  
!icT/5  
iZPCNS"  
struts.velocity.manager.classname 994` ua+  
      org.apache.struts2.views.velocity.VelocityManager implementation class kgy:Q'  
      org.apache.struts2.views.velocity.VelocityManager接口名 4VHqBQ4  
;^ La"m  
struts.velocity.toolboxlocation .w> 4  
      The location of the Velocity toolbox n"+[ :w4  
      velocity工具盒的位置 /R~1Zj2&  
struts.xslt.nocache 0E?jW7yr  
      Whether or not XSLT templates should not be cached YhbZ'SJ  
      是否XSLT模版应该被缓存 \ W?R  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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