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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  # eEvF  
8&Wx@QI  
struts.action.extension 02M7gBS  
      The URL extension to use to determine if the request is meant for a Struts action -Op@y2+c  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 XARSGAuw  
 Ec.)!Hu  
struts.configuration jeFN*r _  
      The org.apache.struts2.config.Configuration implementation class Ar~{= X  
        org.apache.struts2.config.Configuration接口名 ;GQm[W([  
#_p  
struts.configuration.files d<Dn9,G  
      A list of configuration files automatically loaded by Struts o[{&!t  
      struts自动加载的一个配置文件列表 ;y>'yq}  
g^n;IE$B  
struts.configuration.xml.reload 8l?w=)Qy  
      Whether to reload the XML configuration or not %JaE4&  
      是否加载xml配置(true,false) [J:zE&aj  
h9Z[z73_a  
struts.continuations.package EFNdiv$wF  
      The package containing actions that use Rife continuations bXm :]?  
      含有actions的完整连续的package名称 Jmy)J!ib*  
/MqP[*L  
struts.custom.i18n.resources 5Q;dnC  
      Location of additional localization properties files to load *vXDuhQ  
      加载附加的国际化属性文件(不包含.properties后缀) _X?y ,#  
* S{\#s  
struts.custom.properties ZK!4>OuH`  
      Location of additional configuration properties files to load e18T(g_i  
      加载附加的配置文件的位置 ndB@J*Imu  
(Z'WR  
dc)wu]  
struts.devMode ?9,YVylg  
      Whether Struts is in development mode or not 7j95"mI  
      是否为struts开发模式 O{*GW0}55  
D~7%};D[  
struts.dispatcher.parametersWorkaround d^_itC;-,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @u<0_r t  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Hq79/ wKj  
I(y`)$}  
struts.enable.DynamicMethodInvocation >Ziy1Dp  
      Allows one to disable dynamic method invocation from the URL W|~q<},j  
        允许动态方法调用 (c 1u{  
ScsWnZ  
struts.freemarker.manager.classname ,%.:g65%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?F!W#   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 X #H:&*[!  
c;nx59w ]q  
struts.i18n.encoding HI7]%<L  
      The encoding to use for localization messages ho(5r5SNE  
      国际化信息内码 "@aq@mY@  
S/KVN(Z  
struts.i18n.reload \;'_|bu3.  
      Whether the localization messages should automatically be reloaded '"'D.,[W2  
      是否国际化信息自动加载 *c!;^Qyp&  
r=xTs,xx  
struts.locale cYE./1D a  
      The default locale for the Struts application ;,()wH  
      默认的国际化地区信息 \=$EmHF  
t@l(xnsV  
struts.mapper.class QZ6[*_Z6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class pE~9o 9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .ou!g&xu  
Omp i~  
struts.multipart.maxSize XPGL3[w\V  
      The maximize size of a multipart request (file upload) hg$qb eUl  
      multipart请求信息的最大尺寸(文件上传用) &?}kL= h  
"u .)X3  
struts.multipart.parser K'a#Mg  
      The org.apache.struts2.dispatcher.multipart. CM+F7#T?n  
      MultiPartRequest parser implementation for a multipart request (file upload) $,xtif0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 4Z<]4:o  
OHx,*}N  
\7OJN ~&<  
struts.multipart.saveDir H ={O13  
      The directory to use for storing uploaded files rC* sNy2  
      设置存储上传文件的目录夹 BnKP7e  
~.\73_M=A  
struts.objectFactory 0BbiQXU  
      The com.opensymphony.xwork2.ObjectFactory implementation class M63s(f  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .E?bH V  
)x_W&*oZ  
struts.objectFactory.spring.autoWire e; &{50VY  
      Whether Spring should autoWire or not P5yJO97  
      是否自动绑定Spring l044c,AW(  
f.U0E6-(3N  
struts.objectFactory.spring.useClassCache }1X11+/W  
      Whether Spring should use its class cache or not {ar5c&<  
      是否spring应该使用自身的cache 9 AQ96  
"z{_hp{T^  
struts.objectTypeDeterminer j?d;xj  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D:ql^{~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 \]L::"![?  
Q2_WH)J 3  
struts.serve.static.browserCache XwKZv0ub  
If static content served by the Struts filter should set browser caching header properties or not m<X#W W)N  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 +l[Z2mW  
:Ul'(@  
struts.serve.static ?9wFV/  
      Whether the Struts filter should serve static content or not ZTgAZ5_cz  
      是否struts过滤器应该提供静态内容 }(f.uN_v  
6ywnyh  
struts.tag.altSyntax iECC@g@a  
      Whether to use the alterative syntax for the tags or not 6.`}&E  
      是否可以用替代的语法替代tags Y1yvI  
Q*mMF@-:  
struts.ui.templateDir m-Z'K_oQ  
      The directory containing UI templates G>_42Rp  
      UI templates的目录夹 A/Fs?m{7U  
HiS,q0  
struts.ui.theme ~q'w),bE"Q  
      The default UI template theme ;QvvU[eb  
      默认的UI template主题 c*M)DO`y;h  
BW;=i.  
struts.url.http.port Y_Z &p#Q!  
      The HTTP port used by Struts URLs  OGE#wG"S  
      设置http端口 R.T?ZF  
k?|F0e_  
struts.url.https.port Q J(e*/  
      The HTTPS port used by Struts URLs ,,wyydG  
      设置https端口 Fb\2df{@  
w7`@=kVx  
struts.url.includeParams '^.=gTk  
      The default includeParams method to generate Struts URLs om*tdG  
      在url中产生 默认的includeParams %xbz&'W,  
"ojDf3@{  
KH@) +Rj  
struts.velocity.configfile @$b+~X)7  
      The Velocity configuration file path <5!RAdaj+  
      velocity配置文件路径 0=(-8vwd  
[V#&sAe  
struts.velocity.contexts +hKPOFa'  
      List of Velocity context names L2/<+ Zw  
      velocity的context列表 U7f&N  
iK6<^,]'  
1 Q0Yer  
struts.velocity.manager.classname |+4E 8;4_  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8HH.P`Vk#  
      org.apache.struts2.views.velocity.VelocityManager接口名 4~pO>6P   
x"C93ft[  
struts.velocity.toolboxlocation 6!}m$Dvt~  
      The location of the Velocity toolbox i$LV44  
      velocity工具盒的位置 M'!!EQo  
struts.xslt.nocache 2sd=G'7!  
      Whether or not XSLT templates should not be cached I!0$% ]F  
      是否XSLT模版应该被缓存 loqS?bC ]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八