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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Z2W&_(^.h  
$(62j0mS>  
struts.action.extension niS\0ZA  
      The URL extension to use to determine if the request is meant for a Struts action YMw,C:a4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (h wzA *(c  
@>z.chM;  
struts.configuration F[c oa5  
      The org.apache.struts2.config.Configuration implementation class t 9(,JC0  
        org.apache.struts2.config.Configuration接口名 q,sO<1wAT\  
D!* SA  
struts.configuration.files 3mo<O}}  
      A list of configuration files automatically loaded by Struts gkK(7=r%  
      struts自动加载的一个配置文件列表 :tV"uWZFU  
PlCw,=K8f  
struts.configuration.xml.reload 2_Lu 0Yrg  
      Whether to reload the XML configuration or not Idu'+O4  
      是否加载xml配置(true,false) eV_ ",W  
LiEEQ  
struts.continuations.package b|87=1^m[  
      The package containing actions that use Rife continuations 9+(b7L   
      含有actions的完整连续的package名称 HHx5 VI  
]fY:+Ru  
struts.custom.i18n.resources eF;Jj>\R+i  
      Location of additional localization properties files to load # 9bw'm  
      加载附加的国际化属性文件(不包含.properties后缀) CM~x1f*v  
{v!w2p@  
struts.custom.properties =&g:dX|q8  
      Location of additional configuration properties files to load v1$}[&/  
      加载附加的配置文件的位置  \&d1bq  
+sx(q@  
)E",)}Nh  
struts.devMode #: EhGlq8  
      Whether Struts is in development mode or not "X<V>q$0~c  
      是否为struts开发模式 p+Yy"wH:h{  
iu=@ h>C  
struts.dispatcher.parametersWorkaround  =glG |  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic + $M<ck?Bo  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XFFm 'W6@  
+v%+E{F$+  
struts.enable.DynamicMethodInvocation y@}WxSK*0  
      Allows one to disable dynamic method invocation from the URL 9|jMN j]vo  
        允许动态方法调用 l/?bXNt  
Zc";R!At  
struts.freemarker.manager.classname * r4FOA%P  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >]B_+r0m^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  2X`t&zg  
7yG%E  
struts.i18n.encoding rXSw@pqZ&  
      The encoding to use for localization messages hB 'rkjt  
      国际化信息内码 9a:(ab'  
eLH=PDdO  
struts.i18n.reload A _7I0^  
      Whether the localization messages should automatically be reloaded `MT.<5H  
      是否国际化信息自动加载 P{RGW.Ci@  
,H|K3nh  
struts.locale pw))9~XU  
      The default locale for the Struts application s&%r?  
      默认的国际化地区信息 >xRUw5jN  
HII@Ed f?  
struts.mapper.class #m{F*(%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class U*EBH  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4tkb7D q  
akj#.aYk  
struts.multipart.maxSize E?&YcVA  
      The maximize size of a multipart request (file upload) R<3 -!p1v  
      multipart请求信息的最大尺寸(文件上传用) iQ;lvOja  
s_Z5M2o  
struts.multipart.parser 1q ZnyJ  
      The org.apache.struts2.dispatcher.multipart. 6d5q<C_3t  
      MultiPartRequest parser implementation for a multipart request (file upload) iOAn/[^xk  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3?k<e  
,\T`gh  
ZRGe$HaU  
struts.multipart.saveDir CTqhXk[  
      The directory to use for storing uploaded files &i805,lx  
      设置存储上传文件的目录夹 tPk> hzW  
^S|}<6~6b  
struts.objectFactory %U[H`E  
      The com.opensymphony.xwork2.ObjectFactory implementation class B<|Vm.D  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5IgO4<B  
6!6R3Za$  
struts.objectFactory.spring.autoWire 2Z9ck|L>  
      Whether Spring should autoWire or not U[pR `u  
      是否自动绑定Spring HKC&grp  
Vo%ikR #  
struts.objectFactory.spring.useClassCache juWbd|ad"  
      Whether Spring should use its class cache or not -lfbn =3  
      是否spring应该使用自身的cache {rF9[S"h  
),,0T/69+9  
struts.objectTypeDeterminer dF&@q,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class DEPsud;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 OSJL,F,  
Cpn!}!Gnf  
struts.serve.static.browserCache do l8O  
If static content served by the Struts filter should set browser caching header properties or not t ,EMyZ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y6jgAq  
D;:p6q}hT  
struts.serve.static l?X)]1  
      Whether the Struts filter should serve static content or not z  +c8G  
      是否struts过滤器应该提供静态内容 "?_ af  
Q{ g{  
struts.tag.altSyntax X=jD^"-  
      Whether to use the alterative syntax for the tags or not ;wHyX)&X $  
      是否可以用替代的语法替代tags 3z k},8fu  
K,bX<~e5  
struts.ui.templateDir WxJaE;`Ige  
      The directory containing UI templates L'e|D=y  
      UI templates的目录夹 Nah\4-75&  
8yswi[  
struts.ui.theme R<r,&X?m  
      The default UI template theme Fbw.Y6  
      默认的UI template主题 M3fTU CR  
] < ;y_  
struts.url.http.port I 'ha=PeVn  
      The HTTP port used by Struts URLs =+VDb5= TV  
      设置http端口 z wn#E  
:@Ml-ZE  
struts.url.https.port (F#2z\$;  
      The HTTPS port used by Struts URLs D4{<~/oBv  
      设置https端口 LmKY$~5P  
4`sW_ ks  
struts.url.includeParams kb\\F:w(W  
      The default includeParams method to generate Struts URLs Eb&=$4c=  
      在url中产生 默认的includeParams 2%-/}'G*  
/RF&@NJE5  
0 \1g-kc!v  
struts.velocity.configfile S""F58 H n  
      The Velocity configuration file path bhKe"#m|S  
      velocity配置文件路径 'kJyE9*xU.  
K7,Sr1O `  
struts.velocity.contexts I#(?xHx  
      List of Velocity context names K:$GmV9o  
      velocity的context列表 c&g*nDuDj  
0.~s>xXp  
XS>( Bu  
struts.velocity.manager.classname !H zJ*  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2\"T&  
      org.apache.struts2.views.velocity.VelocityManager接口名 =Nz;R2{@  
S:c d'68D  
struts.velocity.toolboxlocation ;IT'6m`@W  
      The location of the Velocity toolbox G1SOvdq  
      velocity工具盒的位置 TOx@Y$_9Q8  
struts.xslt.nocache aC3Qmo6?m  
      Whether or not XSLT templates should not be cached P(p|NRD@1  
      是否XSLT模版应该被缓存 &'m&'wDt:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五