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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 (d[)U<  
Nvs8t%  
struts.action.extension bf `4GD(  
      The URL extension to use to determine if the request is meant for a Struts action @fp(uu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 )jp#|#h  
B_[^<2_  
struts.configuration 'Z-jj2t}  
      The org.apache.struts2.config.Configuration implementation class G1Cn[F;e  
        org.apache.struts2.config.Configuration接口名 S)GWr"m-  
f4zd(J  
struts.configuration.files =@m|g )  
      A list of configuration files automatically loaded by Struts :<s)QD  
      struts自动加载的一个配置文件列表 +EcN[-~  
Od'!v&  
struts.configuration.xml.reload ] w FFGy  
      Whether to reload the XML configuration or not 9[|Ql  
      是否加载xml配置(true,false) Pe/cwKCI  
un[Z$moN"  
struts.continuations.package #5T+P8  
      The package containing actions that use Rife continuations L^ VG?J  
      含有actions的完整连续的package名称 <!&&Qd-d6H  
DL2gui3  
struts.custom.i18n.resources A1p;Ye>o~  
      Location of additional localization properties files to load P}H7WH  
      加载附加的国际化属性文件(不包含.properties后缀) S@zsPzw  
" 7RQrz  
struts.custom.properties '?_;s9)  
      Location of additional configuration properties files to load gQ*0Mk  
      加载附加的配置文件的位置 UR?[ba_h   
iwL\Ha  
8@qYzSx[  
struts.devMode 8J%^gy>m]  
      Whether Struts is in development mode or not dKw* L|5  
      是否为struts开发模式 r}9qK%C G.  
4)iSz>  
struts.dispatcher.parametersWorkaround :t]YPt  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -ny[Lh^b  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k oC2bX  
~xu<xy@E  
struts.enable.DynamicMethodInvocation 5 %q26&  
      Allows one to disable dynamic method invocation from the URL JcZs\ fl9  
        允许动态方法调用 ?G1-X~Z8  
w/N.#s^  
struts.freemarker.manager.classname G;FY2;adK  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZYrXav<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -.1x!~.jX  
(eN\s98)/  
struts.i18n.encoding jGd{*4{3+  
      The encoding to use for localization messages F`U%xn,  
      国际化信息内码 u A:|#mO  
iU{F\>  
struts.i18n.reload c0u!V+V%  
      Whether the localization messages should automatically be reloaded dV8mI,h  
      是否国际化信息自动加载 qr(SAIX"  
vKDRjrF-  
struts.locale Se* GR"Z+  
      The default locale for the Struts application sW#6B+5_k  
      默认的国际化地区信息 W=o90TwbN  
}V?SedsY  
struts.mapper.class 6.2_UN^<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d)(61  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :Cw|BX@??U  
I* \o  
struts.multipart.maxSize '6fMF#X4F  
      The maximize size of a multipart request (file upload) %K /=7  
      multipart请求信息的最大尺寸(文件上传用) {Os$Uui37\  
qp_kILo~  
struts.multipart.parser goeWZO  
      The org.apache.struts2.dispatcher.multipart. t&wtw  
      MultiPartRequest parser implementation for a multipart request (file upload) BM1uZJ0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) "Sc_E}q |e  
Ta%{Wa\U9z  
qp^O\>c  
struts.multipart.saveDir xRJv_=dT  
      The directory to use for storing uploaded files Tl%#N"  
      设置存储上传文件的目录夹 <Jo_f&&{  
<n>Kc}c  
struts.objectFactory bJ]g2C7`36  
      The com.opensymphony.xwork2.ObjectFactory implementation class +o!".Hp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )wo'i]#2:  
=g2; sM/  
struts.objectFactory.spring.autoWire b|wCR%  
      Whether Spring should autoWire or not "Nn/vid;  
      是否自动绑定Spring NHUx-IqOX  
.#6Dad=S*  
struts.objectFactory.spring.useClassCache <u*~RYA2  
      Whether Spring should use its class cache or not  s6rdQI]  
      是否spring应该使用自身的cache r~z-l,  
1fm\5/}'`1  
struts.objectTypeDeterminer x;l\#x/<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &|IY=$-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,+KZn}>  
j{IAZs#@>  
struts.serve.static.browserCache gpe^G64c`  
If static content served by the Struts filter should set browser caching header properties or not IR?ICXmtx  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $[6:KV  
_LFZ0  
struts.serve.static !!b5vzyve  
      Whether the Struts filter should serve static content or not I`}-*% ki(  
      是否struts过滤器应该提供静态内容 $xyG0Q.  
"6lf~%R"  
struts.tag.altSyntax OA_:_%a(  
      Whether to use the alterative syntax for the tags or not LXG,IG  
      是否可以用替代的语法替代tags Mje6Q  
r Ka7[/  
struts.ui.templateDir x1]^].#Eo  
      The directory containing UI templates 0"kNn5  
      UI templates的目录夹 C#`eN{%.YT  
uR|Jn)/m(  
struts.ui.theme ync2X{9D  
      The default UI template theme zJOjc/\  
      默认的UI template主题 [7ZFxr\:!  
T/V8&'^i  
struts.url.http.port gd R wh  
      The HTTP port used by Struts URLs 5*{U!${a  
      设置http端口 Xlpu_H|  
[2gK^o&t  
struts.url.https.port @|6n.'f+  
      The HTTPS port used by Struts URLs 7KnZ  
      设置https端口 cj`g)cX|  
:;t*:iG  
struts.url.includeParams D%N^iJC,9  
      The default includeParams method to generate Struts URLs =2BGS\$#  
      在url中产生 默认的includeParams j~(rG^T  
I&U?8  
<YP>c  
struts.velocity.configfile scCOiK)  
      The Velocity configuration file path p)N=  
      velocity配置文件路径 8xs[{?|:  
AdesR-e$R  
struts.velocity.contexts S " R]i  
      List of Velocity context names PGsXB"k<8  
      velocity的context列表 iE, I\TY[  
9; HR  
r]sv50Fy  
struts.velocity.manager.classname 7JD jJQy  
      org.apache.struts2.views.velocity.VelocityManager implementation class -LJbx<'  
      org.apache.struts2.views.velocity.VelocityManager接口名 t?L;k+sMM  
%kS+n_*  
struts.velocity.toolboxlocation U,yU-8z/  
      The location of the Velocity toolbox SEq_37  
      velocity工具盒的位置 -~~"}u  
struts.xslt.nocache ='q:Io?T  
      Whether or not XSLT templates should not be cached 2i;G3"\  
      是否XSLT模版应该被缓存 8C#R  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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