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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ykNPKzW:  
k Hh0&~ (  
struts.action.extension :tX,`G  
      The URL extension to use to determine if the request is meant for a Struts action A'T: \Wl  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o<!tN OH  
B{cb'\ C  
struts.configuration AmBLZ<f;  
      The org.apache.struts2.config.Configuration implementation class Mgg m~|9)  
        org.apache.struts2.config.Configuration接口名 M(<.f}yZQ  
Il$Jj-)  
struts.configuration.files 9l}G{u9a  
      A list of configuration files automatically loaded by Struts g UA_&_  
      struts自动加载的一个配置文件列表 1^y^b{  
Z1oUAzpj4  
struts.configuration.xml.reload zE]h]$oi  
      Whether to reload the XML configuration or not 8Xz \,}$O  
      是否加载xml配置(true,false) B S+=*3J  
Y$ '6p."=  
struts.continuations.package {S5j;  
      The package containing actions that use Rife continuations $@<cZ4  
      含有actions的完整连续的package名称 i>z {QE  
U )J/so)  
struts.custom.i18n.resources 2Z*^)ZQB  
      Location of additional localization properties files to load 3/4r\%1b+  
      加载附加的国际化属性文件(不包含.properties后缀) ]McDN[h:  
yn.f?[G2  
struts.custom.properties | gP%8nh'C  
      Location of additional configuration properties files to load BVv{:m{w  
      加载附加的配置文件的位置 4i(?5p>f  
MLt'tzgl  
z#\YA]1  
struts.devMode CG[04y  
      Whether Struts is in development mode or not e2L4E8ST<  
      是否为struts开发模式 rjL4t^rT  
aYcc2N%C  
struts.dispatcher.parametersWorkaround 6}GcMhU<r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;BYv&(#u1q  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 3}2a3)  
+X!QH/ 8  
struts.enable.DynamicMethodInvocation mI-9=6T_  
      Allows one to disable dynamic method invocation from the URL K1m'20U  
        允许动态方法调用 [M&.'X  
287)\FU;3  
struts.freemarker.manager.classname )UAkg  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class = K3NKPUI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _?a.S8LxJZ  
0'~Iv\s  
struts.i18n.encoding C}(9SASs%  
      The encoding to use for localization messages Qs;MEt1  
      国际化信息内码 {}N=pL8MS  
+<w\K*  
struts.i18n.reload btWvoKO*  
      Whether the localization messages should automatically be reloaded ::2(pgH  
      是否国际化信息自动加载 s.XLC43Rs  
5yQ\s[;o3  
struts.locale H:.l:PJ  
      The default locale for the Struts application *#Hw6N0#   
      默认的国际化地区信息 ^4[|&E:  
oO][X  
struts.mapper.class S)vNWBO  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d^Zr I\AJ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 tW} At  
QT7PCHP  
struts.multipart.maxSize % n~ 'UA  
      The maximize size of a multipart request (file upload) A7=k 9|  
      multipart请求信息的最大尺寸(文件上传用) Jj,fdP#\  
j xTYW)E   
struts.multipart.parser !7jVKI80  
      The org.apache.struts2.dispatcher.multipart. K5EU?J&  
      MultiPartRequest parser implementation for a multipart request (file upload) eGQ -Ht,N  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _68{ {.  
gMUCVKGf  
%3mh'Z -[f  
struts.multipart.saveDir ayh= @7*  
      The directory to use for storing uploaded files D) ;w)`  
      设置存储上传文件的目录夹 10W6wIqK  
Qs7*_=+h  
struts.objectFactory E>Lgf&R#W  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;cp,d~mrf  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j-9Zzgr  
[ %6(1$Ih  
struts.objectFactory.spring.autoWire 6"<q{K  
      Whether Spring should autoWire or not >S'IrnH'!  
      是否自动绑定Spring ']DUCu  
_FtsO<p)"  
struts.objectFactory.spring.useClassCache vx}W.6C}  
      Whether Spring should use its class cache or not 55Ag<\7  
      是否spring应该使用自身的cache vfloha p  
M}x]\#MMY  
struts.objectTypeDeterminer QZv}\C-c  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class rWNywxnT  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 5dkXDta[G  
^vha4<'-qG  
struts.serve.static.browserCache ^wxpinJ>  
If static content served by the Struts filter should set browser caching header properties or not <P.'r,"[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 W$Sc@!M3{  
Js/QL=,  
struts.serve.static ")@#B=8+3^  
      Whether the Struts filter should serve static content or not E_T!|Q.  
      是否struts过滤器应该提供静态内容 5%RiM|+  
Sjo7NR^#e  
struts.tag.altSyntax qrufnu5cC  
      Whether to use the alterative syntax for the tags or not a6!|#rt  
      是否可以用替代的语法替代tags DIF-%X5  
tR(nD UHV5  
struts.ui.templateDir #Fz/}lO  
      The directory containing UI templates KvXF zx|A  
      UI templates的目录夹 R*DQLBWc  
y_r(06"z1  
struts.ui.theme uYC1}Y5N  
      The default UI template theme '8=/v*j>?  
      默认的UI template主题 :B:6ezDF6  
]i\;#pj}  
struts.url.http.port `#"xgOSP>  
      The HTTP port used by Struts URLs '9!J' [W  
      设置http端口 8]Q#P  
_$i)bJ  
struts.url.https.port Ug\$Ob5=q  
      The HTTPS port used by Struts URLs n j2=}6  
      设置https端口 `T{'ufI4B  
45rG\$%#  
struts.url.includeParams bE?X?[K  
      The default includeParams method to generate Struts URLs )6(|A$~C+  
      在url中产生 默认的includeParams yM Xf&$C  
K/K|[=bl  
f+1@mGt  
struts.velocity.configfile < n/ 2  
      The Velocity configuration file path )Z)Gb~G  
      velocity配置文件路径 0o!mlaU#  
wf`A&P5tF  
struts.velocity.contexts .3&( Y  
      List of Velocity context names |}b~YHTs  
      velocity的context列表 -e"A)Bpl(  
)D ~ 5  
KD.|oo  
struts.velocity.manager.classname Jv}&8D  
      org.apache.struts2.views.velocity.VelocityManager implementation class EjMVlZC>  
      org.apache.struts2.views.velocity.VelocityManager接口名 xpc{#/Nk  
-Nn< pq  
struts.velocity.toolboxlocation D -d  
      The location of the Velocity toolbox h'?v(k!  
      velocity工具盒的位置 #p"$%f5Q_  
struts.xslt.nocache v3]5`&3~  
      Whether or not XSLT templates should not be cached \&b 9  
      是否XSLT模版应该被缓存 uehu\umt=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八