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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 \HB4ikl  
@,63%  
struts.action.extension Jyx6{O j  
      The URL extension to use to determine if the request is meant for a Struts action / ` 7p'i  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ;@@1$mzK  
IZ;%lV7t  
struts.configuration rI5)w_E?  
      The org.apache.struts2.config.Configuration implementation class DM*mOT  
        org.apache.struts2.config.Configuration接口名 I4Ys ,n  
U. 1Vpfy  
struts.configuration.files xrK%3nA4s"  
      A list of configuration files automatically loaded by Struts x-5XOqD{'  
      struts自动加载的一个配置文件列表 f-?00*T  
/2&jId  
struts.configuration.xml.reload  >y&4gm  
      Whether to reload the XML configuration or not `R]9+_"N  
      是否加载xml配置(true,false) s wdW70  
rZDlPp>BPZ  
struts.continuations.package %/:{x()G  
      The package containing actions that use Rife continuations Z%Nl<i  
      含有actions的完整连续的package名称 L!7*U.+  
lbv9 kk[  
struts.custom.i18n.resources Y) >GwFK$  
      Location of additional localization properties files to load l("Dw8 H  
      加载附加的国际化属性文件(不包含.properties后缀) )j40hrR  
7mSVL\\^  
struts.custom.properties >Rw[x  
      Location of additional configuration properties files to load f!~gfnn  
      加载附加的配置文件的位置 =>Vo|LBoe  
h'x|yy]@3  
1FS Jqad  
struts.devMode \k1psqw^O  
      Whether Struts is in development mode or not 6=kA  
      是否为struts开发模式 D 5]sf>~  
8VJUaL@  
struts.dispatcher.parametersWorkaround xV'\2n=1T  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l K%pxqx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) TE4{W4I  
J 21D/#v  
struts.enable.DynamicMethodInvocation XQhBnam%  
      Allows one to disable dynamic method invocation from the URL Yw=Ve 0  
        允许动态方法调用 #5kQn>R  
xn&G`  
struts.freemarker.manager.classname <@}~Fp@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *]fBd<(8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 d*=P8QwL|  
\+E{8&TH'  
struts.i18n.encoding bIP{DxKS  
      The encoding to use for localization messages VpJ/M(UD-  
      国际化信息内码 ln7{c #lE  
(xJ6 : u  
struts.i18n.reload aD,sx#g0  
      Whether the localization messages should automatically be reloaded yVm~5Y&Z  
      是否国际化信息自动加载 ?9_<LE q  
k~u$&a  
struts.locale xT I&X9P  
      The default locale for the Struts application 0A@'w*=  
      默认的国际化地区信息 maLKUSgo  
uYlC*z{  
struts.mapper.class jR S0(8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ewqfs/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ^0 R.U+?+  
<8[BB7  
struts.multipart.maxSize BhkJ >4#  
      The maximize size of a multipart request (file upload) lvIKL!;H  
      multipart请求信息的最大尺寸(文件上传用) TdI5{?sW  
mxhO: .l  
struts.multipart.parser u-3A6Q  
      The org.apache.struts2.dispatcher.multipart. z%;b-PpS  
      MultiPartRequest parser implementation for a multipart request (file upload) v2:A 4Pd:+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *,~d!Fc  
S1&mY'c  
_6&x$ *O  
struts.multipart.saveDir ozF>2`K }  
      The directory to use for storing uploaded files  2&O!<C j  
      设置存储上传文件的目录夹 <VI.A" Qk~  
G(W/.*  
struts.objectFactory z ^t6VFM  
      The com.opensymphony.xwork2.ObjectFactory implementation class T#kPn#|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,Bax0p  
tIfA]pE  
struts.objectFactory.spring.autoWire QG {KEj2V  
      Whether Spring should autoWire or not <y[LdB/a  
      是否自动绑定Spring ,Z*&QR  
*Z'*^Y1le  
struts.objectFactory.spring.useClassCache nR'!Ui  
      Whether Spring should use its class cache or not &{E1w<uv  
      是否spring应该使用自身的cache RQhS]y@e  
1"tyxAo\  
struts.objectTypeDeterminer T1AD(r\W5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class OQ>8Q`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ScOiOz:Ha  
BUB$k7{z  
struts.serve.static.browserCache &iR3]FNI  
If static content served by the Struts filter should set browser caching header properties or not k|V%*BvY>  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 hZ@frbuowk  
ZLm?8g6-  
struts.serve.static qj|P0N{7  
      Whether the Struts filter should serve static content or not ZNWo:N8;  
      是否struts过滤器应该提供静态内容 &w15 GO;4  
G*;?&;*  
struts.tag.altSyntax oA/[>\y  
      Whether to use the alterative syntax for the tags or not y2Eq-Ie  
      是否可以用替代的语法替代tags n!Hj4~T0  
O_=2{k~s0  
struts.ui.templateDir 24{Tl q3  
      The directory containing UI templates >?3yVE  
      UI templates的目录夹 =Q+i(UGHi  
'k^d-Mh>h  
struts.ui.theme 3an9Rb V  
      The default UI template theme ?X $#J'U;  
      默认的UI template主题 s"OP[YEke/  
DA=#T2)p  
struts.url.http.port o,qq*}=  
      The HTTP port used by Struts URLs BQWhTS7  
      设置http端口 Ygeg[S!7  
Q[PVkZ  
struts.url.https.port {*yFTP"93  
      The HTTPS port used by Struts URLs stxei 6  
      设置https端口 nR %ey"  
h@kq>no  
struts.url.includeParams F#b^l}  
      The default includeParams method to generate Struts URLs E5 ;6ks)  
      在url中产生 默认的includeParams DtEvt+h  
8NF93tqD6  
@n|Mr/PAj  
struts.velocity.configfile nj1TX  
      The Velocity configuration file path ,r5'nDV=d  
      velocity配置文件路径 g49G7sk  
KIRCye  
struts.velocity.contexts #}xw *)3  
      List of Velocity context names !l(D0 C  
      velocity的context列表 uqotVil,  
nsA}A~(E  
"1P[D'HV4|  
struts.velocity.manager.classname AONEUSxJ  
      org.apache.struts2.views.velocity.VelocityManager implementation class Tv[| ^G9x  
      org.apache.struts2.views.velocity.VelocityManager接口名 Tv[h2_+E  
?<;9=l\Q  
struts.velocity.toolboxlocation QjlQsN!  
      The location of the Velocity toolbox 8l.bT|#O  
      velocity工具盒的位置 ApD`i+Y@  
struts.xslt.nocache !jQj1QZR`  
      Whether or not XSLT templates should not be cached G'U! #  
      是否XSLT模版应该被缓存 Rs@>LA  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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