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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #ia;- 3  
lS9n@  
struts.action.extension 3~%!m<1:  
      The URL extension to use to determine if the request is meant for a Struts action S_Z`so}  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 C;qMw-*F  
$<w)j!  
struts.configuration 4| Ui?.4=  
      The org.apache.struts2.config.Configuration implementation class 2]ti!<  
        org.apache.struts2.config.Configuration接口名 ::"E?CQLV  
)`?%]D  
struts.configuration.files '*!L!VJ  
      A list of configuration files automatically loaded by Struts IOEM[zhb$  
      struts自动加载的一个配置文件列表 ebM{OI  
5DFZ^~  
struts.configuration.xml.reload &Lt@} 7$8  
      Whether to reload the XML configuration or not 213\ehhG<  
      是否加载xml配置(true,false) >Ko[Xb-8^_  
\ =nrt?  
struts.continuations.package *jCW.ZLY  
      The package containing actions that use Rife continuations J(iV0LAZb  
      含有actions的完整连续的package名称 "2hh-L7ql  
|4C^$  
struts.custom.i18n.resources bQQVj?8jp  
      Location of additional localization properties files to load '6S%9ahE  
      加载附加的国际化属性文件(不包含.properties后缀) +>YfRqz:KB  
~&g a1r2v?  
struts.custom.properties urZ8j?}c  
      Location of additional configuration properties files to load q#[`KOPV  
      加载附加的配置文件的位置 PC/!9s 0W  
~UPZ<  
EUcKN1  
struts.devMode {9'M0=  
      Whether Struts is in development mode or not V#^yX%  
      是否为struts开发模式 4/*q0M{}B  
_T*AC.  
struts.dispatcher.parametersWorkaround LP<<'(l`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic |t6~%6^8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oH-8r:{  
9l !S9d  
struts.enable.DynamicMethodInvocation :.&{Z"  
      Allows one to disable dynamic method invocation from the URL L *Y|ey  
        允许动态方法调用 U[||~FW'  
J@#?@0]F  
struts.freemarker.manager.classname c`kQvXx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &drFQ|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 LWmB, Zf/  
KoHGweKl#  
struts.i18n.encoding nSS=%,?  
      The encoding to use for localization messages V4K'R2t  
      国际化信息内码 Y25uU%6t_  
J8Z0D:5  
struts.i18n.reload LmL Gki$w  
      Whether the localization messages should automatically be reloaded HL8eD^  
      是否国际化信息自动加载 \:/Lc{*}MD  
VKuAO$s$  
struts.locale e7k%6'@  
      The default locale for the Struts application 4hAJ!7[A.  
      默认的国际化地区信息 3S"] u}  
dM]#WBOP y  
struts.mapper.class o`?zF+M0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class OJ3UE(,I=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 sb.J bE8  
EHI'xt  
struts.multipart.maxSize vsMmCd)7U  
      The maximize size of a multipart request (file upload) g22gIj]  
      multipart请求信息的最大尺寸(文件上传用) Pe$6s:|NS  
' [p)N,  
struts.multipart.parser 2wlKBSON  
      The org.apache.struts2.dispatcher.multipart. ZYMw}]#((E  
      MultiPartRequest parser implementation for a multipart request (file upload) s3 B'>RG}  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Ge \["`;i  
6 /Y1 wu  
/q1s;I  
struts.multipart.saveDir .-]R9KjR1J  
      The directory to use for storing uploaded files iRw&49  
      设置存储上传文件的目录夹 };katqzEg  
@;)PSp*j  
struts.objectFactory ;y1Q6eN  
      The com.opensymphony.xwork2.ObjectFactory implementation class vg\/DbI'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `_qK&&s  
Z4q~@|+%  
struts.objectFactory.spring.autoWire U A-7nb  
      Whether Spring should autoWire or not }Dfwm)]Q  
      是否自动绑定Spring <hvRP!~<)  
1>pe&n/  
struts.objectFactory.spring.useClassCache J;QUPpH Z  
      Whether Spring should use its class cache or not $G !R,eQ  
      是否spring应该使用自身的cache I:=dG[\h2  
sYn[uPefj  
struts.objectTypeDeterminer ls|LCQPx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 82:Wvp6  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 x` /)g(  
"/+zMLY  
struts.serve.static.browserCache 2qU&l|>  
If static content served by the Struts filter should set browser caching header properties or not s~L</Xvo  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7P**:b  
Qc"'8kt  
struts.serve.static = r4!V>  
      Whether the Struts filter should serve static content or not 8q^o.+9  
      是否struts过滤器应该提供静态内容 Uems\I0  
sqO< J$tz  
struts.tag.altSyntax sC7/9</  
      Whether to use the alterative syntax for the tags or not )K]pnH|  
      是否可以用替代的语法替代tags #h'@5 l  
ALT^8c&K  
struts.ui.templateDir P3o @gkXP  
      The directory containing UI templates {"}V&X160o  
      UI templates的目录夹 Sycw %k  
_D;@v?n6!O  
struts.ui.theme *@S@x{{s  
      The default UI template theme ^v ni&sJ  
      默认的UI template主题 wEEn?  
WFv!Pbq,  
struts.url.http.port ,.mBJ SE3  
      The HTTP port used by Struts URLs }iiHr|l3  
      设置http端口 S2^>6/[xM  
R: Z_g !h  
struts.url.https.port 1~yZ T  
      The HTTPS port used by Struts URLs #1/}3+=5B  
      设置https端口 (-^bj  
gS9>N/b|  
struts.url.includeParams gK1g]Tc@G  
      The default includeParams method to generate Struts URLs !iu5OX7K|  
      在url中产生 默认的includeParams ?=On%bh  
4< S'  
_elX<o4  
struts.velocity.configfile t~p y=\  
      The Velocity configuration file path 6 "gj!/e  
      velocity配置文件路径 k&6I f0i  
2}WDw>V  
struts.velocity.contexts {ERMGd6Jp  
      List of Velocity context names ZFn(x*L  
      velocity的context列表 0Y+FRB ]u  
T0QvnIaP  
PlxIf  L  
struts.velocity.manager.classname ~(X(&  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2xxB\J  
      org.apache.struts2.views.velocity.VelocityManager接口名 9Sg<K)Mc  
K~6e5D7.  
struts.velocity.toolboxlocation 3vic(^Qh  
      The location of the Velocity toolbox `'4)q}bB  
      velocity工具盒的位置 = [@)R!3H  
struts.xslt.nocache %JL]; 4'  
      Whether or not XSLT templates should not be cached KtN&,C )lJ  
      是否XSLT模版应该被缓存 f@ `*>"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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