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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "z c l|@  
%;/P&d/  
struts.action.extension ?(PKeq6  
      The URL extension to use to determine if the request is meant for a Struts action g\U-VZ6;p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -12U4h<e  
G6/m#  
struts.configuration >0gW4!7Y  
      The org.apache.struts2.config.Configuration implementation class pJ=#zsE0  
        org.apache.struts2.config.Configuration接口名 ;*N5Y}?j'  
),)lzN%!  
struts.configuration.files <GJbmRc|  
      A list of configuration files automatically loaded by Struts m[$_7a5  
      struts自动加载的一个配置文件列表 Bwrx*J  
u!s2 BC0}N  
struts.configuration.xml.reload ~@!bsLSMU  
      Whether to reload the XML configuration or not I|OoRq  
      是否加载xml配置(true,false) 92c HwWZ!  
T+$[eWk"a  
struts.continuations.package D@KlOU{<  
      The package containing actions that use Rife continuations \!(zrfP{(  
      含有actions的完整连续的package名称 ZC ?Xqp  
n|hNM?v  
struts.custom.i18n.resources G B^Br6  
      Location of additional localization properties files to load 9$Y=orpWxr  
      加载附加的国际化属性文件(不包含.properties后缀) fOHxtHM  
5N]"~w*  
struts.custom.properties 9^x> 3Bo  
      Location of additional configuration properties files to load @d_M@\r=j  
      加载附加的配置文件的位置 KXrjqqXs  
i@q&5;%%  
)_:NLo:  
struts.devMode 1cDF!X]  
      Whether Struts is in development mode or not Fcx&hj1gQ  
      是否为struts开发模式 }qUX=s GG  
NRuNKl.v  
struts.dispatcher.parametersWorkaround Fu~j8K  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o4;(Zi#Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) g7|@  
u NyVf7u  
struts.enable.DynamicMethodInvocation ni<(K 0~  
      Allows one to disable dynamic method invocation from the URL %xW"!WbJ|  
        允许动态方法调用 YR70BOxK  
fJ\[*5eiS  
struts.freemarker.manager.classname 6b,V;#Anj  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [;N'=]`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 "7 yD0T)2  
yu|>t4#GT  
struts.i18n.encoding >lm&iF3y  
      The encoding to use for localization messages dQvcXl]  
      国际化信息内码 cl1T8vFM  
:3PH8TL  
struts.i18n.reload +t.b` U`-  
      Whether the localization messages should automatically be reloaded xo)P?-  
      是否国际化信息自动加载 [UR-I0 s!/  
:m;p:l|W  
struts.locale 54,er$$V  
      The default locale for the Struts application pCDmXB  
      默认的国际化地区信息 W)/#0*7  
5G#n"}T  
struts.mapper.class ^q&x7Kv%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class F@t3!bj9  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <b.D&  
#Z#-Ht  
struts.multipart.maxSize X2_=agEP  
      The maximize size of a multipart request (file upload)  }ZI7J  
      multipart请求信息的最大尺寸(文件上传用) V9vTsmo(  
Iv *<L a  
struts.multipart.parser \['Cj*ek  
      The org.apache.struts2.dispatcher.multipart. / FII07V  
      MultiPartRequest parser implementation for a multipart request (file upload) :s,Z<^5a)g  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) n<,BmVQ  
,uvRi)O>a  
zA 3_Lx!  
struts.multipart.saveDir kM 6 Qp  
      The directory to use for storing uploaded files NbobliC=  
      设置存储上传文件的目录夹 e.>P8C<&  
#E[0ys1O  
struts.objectFactory 9?$i?  
      The com.opensymphony.xwork2.ObjectFactory implementation class (Z*!#}z`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .`lCWeHN  
6863xOv{T  
struts.objectFactory.spring.autoWire 1oS/`)  
      Whether Spring should autoWire or not h8P)%p  
      是否自动绑定Spring M}a6Vu9  
3]>|  i  
struts.objectFactory.spring.useClassCache 0sqFF[i  
      Whether Spring should use its class cache or not >z03{=sAN  
      是否spring应该使用自身的cache ]]mJ']l  
qM`}{ /i  
struts.objectTypeDeterminer x:;kSh  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q8NX)R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e(sk[guvX  
bOB \--:]  
struts.serve.static.browserCache }EPY^VIw  
If static content served by the Struts filter should set browser caching header properties or not [GR; ?R5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a[C@  
KXy6Eno  
struts.serve.static $ `c:&  
      Whether the Struts filter should serve static content or not 9Na$W:P c  
      是否struts过滤器应该提供静态内容 @F eTz[  
"[k3kAm  
struts.tag.altSyntax #R"*c hLV  
      Whether to use the alterative syntax for the tags or not 2iOV/=+  
      是否可以用替代的语法替代tags -"`=1l  
3mgD(,(^  
struts.ui.templateDir = &]L00u.  
      The directory containing UI templates H)?z #x  
      UI templates的目录夹 h\o.&6sd  
j^'go&p  
struts.ui.theme 8Wx=p#_  
      The default UI template theme A<{{iBEI`  
      默认的UI template主题 d~H`CrQE*  
:]KAkhFkbb  
struts.url.http.port L#J1b!D&<6  
      The HTTP port used by Struts URLs fl(wV.Je|  
      设置http端口 t!XwW$@  
vt8By@]:  
struts.url.https.port n[z+<VGwC  
      The HTTPS port used by Struts URLs Z~CjA%l  
      设置https端口 WMdg1J+~  
JI}'dU>*U:  
struts.url.includeParams 3$ pX  
      The default includeParams method to generate Struts URLs l-Z4Mq6*L  
      在url中产生 默认的includeParams j_AACq {.  
UVP vOtZj  
UfGkTwoo=  
struts.velocity.configfile 29Ki uP  
      The Velocity configuration file path fex@,I&  
      velocity配置文件路径 f8~_E  
Tbq;h ?D  
struts.velocity.contexts 3u=g6W2 F  
      List of Velocity context names >Ry01G]_/h  
      velocity的context列表 *pq\MiD/  
!a`&O-ye  
N)T}P\l  
struts.velocity.manager.classname ]esC[r]PJ  
      org.apache.struts2.views.velocity.VelocityManager implementation class r; {.%s7  
      org.apache.struts2.views.velocity.VelocityManager接口名 RP"kC4~1  
aOp\91  
struts.velocity.toolboxlocation wT@og|M  
      The location of the Velocity toolbox d-qUtgqV86  
      velocity工具盒的位置 b9krOe *j  
struts.xslt.nocache S'" Df5  
      Whether or not XSLT templates should not be cached 6Oq 7#3]  
      是否XSLT模版应该被缓存 UNYqft4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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