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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 oxs0)B  
M_<? <>|  
struts.action.extension V30Om3C  
      The URL extension to use to determine if the request is meant for a Struts action >I9w|z FA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5_|Sm=  
\Zpg,KOT  
struts.configuration f WUFCbSU  
      The org.apache.struts2.config.Configuration implementation class Ne 2tfiI`  
        org.apache.struts2.config.Configuration接口名 E< 57d,3l  
#@ quuiYq  
struts.configuration.files Q+Sx5JUR~  
      A list of configuration files automatically loaded by Struts 5$Q}Zxh  
      struts自动加载的一个配置文件列表 @X$~{Vp__  
/h.hFM/  
struts.configuration.xml.reload 4#dS.UfI  
      Whether to reload the XML configuration or not RotWMGNK  
      是否加载xml配置(true,false) M, uQ8SZA[  
u\&F`esQ2  
struts.continuations.package ~8A !..Z  
      The package containing actions that use Rife continuations <k41j=d  
      含有actions的完整连续的package名称 ##_`)/t,  
>Y3ZK{b  
struts.custom.i18n.resources +*'^T)sj/  
      Location of additional localization properties files to load ,V>7eQt?  
      加载附加的国际化属性文件(不包含.properties后缀) {.,-lFb\  
L}*s_'_e^>  
struts.custom.properties i]8+JG6  
      Location of additional configuration properties files to load AW\#)Em  
      加载附加的配置文件的位置 qm!&(8NfK  
E1"H( m&6  
'yIz<o  
struts.devMode 9'{i |xG  
      Whether Struts is in development mode or not 9i8 ~  
      是否为struts开发模式 ,; 81FK  
!_a@autj  
struts.dispatcher.parametersWorkaround WxgA{q7:  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic n _H]*~4F  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )C1ihm!7\  
<,X?+hr  
struts.enable.DynamicMethodInvocation oh @|*RU  
      Allows one to disable dynamic method invocation from the URL S.E'fc1  
        允许动态方法调用 %]KOxaf_z  
^! r<-J  
struts.freemarker.manager.classname fxcCz 5  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class r ?e''r  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 +~Lt;xNFk  
kJfMTfl,  
struts.i18n.encoding Y/Dah*  
      The encoding to use for localization messages SI~MTUqt  
      国际化信息内码 N H$!<ffz  
C5ia9LpRX  
struts.i18n.reload k% -S7iQ  
      Whether the localization messages should automatically be reloaded =0" Zse,  
      是否国际化信息自动加载 NZaMF.  
=]Vrl-a`^  
struts.locale K7jz*|2  
      The default locale for the Struts application Q"Ur*/-U  
      默认的国际化地区信息 -Y:^<C^^&8  
(vXes.|+t  
struts.mapper.class ! ,v!7I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \l d{Z;e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wgV?1S>Z  
e ab_"W   
struts.multipart.maxSize jeLC)lQ*  
      The maximize size of a multipart request (file upload) u@ psVt   
      multipart请求信息的最大尺寸(文件上传用) JIYZ  
TQjM3Ri=V  
struts.multipart.parser l^WPv/}?  
      The org.apache.struts2.dispatcher.multipart. YS|Ve*t(L=  
      MultiPartRequest parser implementation for a multipart request (file upload) ] 1:pnd  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \'}? j-8  
z}sBx 9;  
So^;5tG  
struts.multipart.saveDir THXG~3J<  
      The directory to use for storing uploaded files ]|#%`p56  
      设置存储上传文件的目录夹 12bt\ h9  
`& rt>Bk /  
struts.objectFactory X7~AqG  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6Pzz= ai<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /"LcW"2;N  
d0"Xlle ld  
struts.objectFactory.spring.autoWire v? VNWK2  
      Whether Spring should autoWire or not '*XX|\.  
      是否自动绑定Spring {;0+N -U  
Bl6>y/  
struts.objectFactory.spring.useClassCache k#Bq8d  
      Whether Spring should use its class cache or not }c1?:8p  
      是否spring应该使用自身的cache r:QLO~l/  
N7WQ{/PSG  
struts.objectTypeDeterminer nYF;.k  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class )vcyoq  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tI-u@ g  
l^,"^ vz  
struts.serve.static.browserCache W.O]f.h  
If static content served by the Struts filter should set browser caching header properties or not fkjo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 FLE2]cL-  
8F#z)>q~  
struts.serve.static ?~_[/  
      Whether the Struts filter should serve static content or not ,%uK^U.zk  
      是否struts过滤器应该提供静态内容 = "N?v-  
61"w>;d6  
struts.tag.altSyntax #;WKuRv   
      Whether to use the alterative syntax for the tags or not U<"@@``+N  
      是否可以用替代的语法替代tags +LEU|#  
@|hn@!YK  
struts.ui.templateDir f(r=S Xa*  
      The directory containing UI templates )t#v55M  
      UI templates的目录夹 ja_.{Zv  
[$bK%W{f  
struts.ui.theme ha -KfkPFE  
      The default UI template theme `ywI+^b  
      默认的UI template主题 (TjY1,f!H  
s;[OR  
struts.url.http.port 0K *|B.O  
      The HTTP port used by Struts URLs 0qPbmLMK  
      设置http端口 :Q@qR((&o  
)>X C_ R  
struts.url.https.port r`8>@2sW1  
      The HTTPS port used by Struts URLs /eI]!a  
      设置https端口 =bwuLno>  
=OUms@xcE  
struts.url.includeParams n(}zq  
      The default includeParams method to generate Struts URLs XX:?7:j}[8  
      在url中产生 默认的includeParams f'>270pH  
8M DX()Bm  
~s[St0  
struts.velocity.configfile Ld?-Ik~fF>  
      The Velocity configuration file path pm 4"Q!K  
      velocity配置文件路径 c%bGVRhE  
(*CGZDg  
struts.velocity.contexts w.2[Xx~  
      List of Velocity context names 9jC>OZ0s  
      velocity的context列表 +"HLx%k  
F}C.F  
TcP (?v  
struts.velocity.manager.classname >2%*(nL  
      org.apache.struts2.views.velocity.VelocityManager implementation class d77->FX2  
      org.apache.struts2.views.velocity.VelocityManager接口名 >cE@m=[  
.e,(}_[[<  
struts.velocity.toolboxlocation A3#^R%2)W  
      The location of the Velocity toolbox bx5f\)  
      velocity工具盒的位置 3r[}'ba\  
struts.xslt.nocache H}[kit*9  
      Whether or not XSLT templates should not be cached :nPLQqXGQ  
      是否XSLT模版应该被缓存 pg4J)<t#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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