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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ]_43U` [#  
d;.H 9Ne  
struts.action.extension 6os{q`/Q])  
      The URL extension to use to determine if the request is meant for a Struts action ($'5xPb  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]-cSTtO  
DIF-%X5  
struts.configuration !!d?o  
      The org.apache.struts2.config.Configuration implementation class DTvCx6:!  
        org.apache.struts2.config.Configuration接口名 #eIFRNRb)  
r$W%d[pB  
struts.configuration.files /X%+z5  
      A list of configuration files automatically loaded by Struts OTzuOP 8  
      struts自动加载的一个配置文件列表 u7lO2 C7  
k8z1AP  
struts.configuration.xml.reload 7> 8L%(7  
      Whether to reload the XML configuration or not .FC|~Z1T<F  
      是否加载xml配置(true,false) b)@rp  
uF+0nv+  
struts.continuations.package _ o.j({S  
      The package containing actions that use Rife continuations L :Ldk  
      含有actions的完整连续的package名称 n50W HlMtt  
:B:6ezDF6  
struts.custom.i18n.resources SM\qd4  
      Location of additional localization properties files to load i>e?$H,/  
      加载附加的国际化属性文件(不包含.properties后缀) %S/?Ci  
1P?|.W_^1  
struts.custom.properties Z}S7%m  
      Location of additional configuration properties files to load J?C:@Q  
      加载附加的配置文件的位置 u=t.1eS5  
S?#6{rx  
v1z d[jqk  
struts.devMode %rJ 'DPs  
      Whether Struts is in development mode or not GA;h7  
      是否为struts开发模式 7=gcdfW,;x  
$4q$!jB5  
struts.dispatcher.parametersWorkaround @MO/LvD  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V.Tn1i-v  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PU8dr|!  
 fj'7\[nZ  
struts.enable.DynamicMethodInvocation 3,-[lG@o  
      Allows one to disable dynamic method invocation from the URL >:HmIW0PLe  
        允许动态方法调用 [Qcht,\^v  
Z@} qL1  
struts.freemarker.manager.classname bvS6xU- J  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 3~:9ZWQ/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 N-W>tng_x  
[0vqm:P  
struts.i18n.encoding IKV!0-={!z  
      The encoding to use for localization messages 0o!mlaU#  
      国际化信息内码 8Qhj_  
Xw3j(`w$,  
struts.i18n.reload a |#TnSk  
      Whether the localization messages should automatically be reloaded 9{ #5~WP  
      是否国际化信息自动加载 N&^zXY  
7}vI/?r  
struts.locale kpXxg: c  
      The default locale for the Struts application zd/kr  
      默认的国际化地区信息 me@)kQ8M  
DTG-R>y^  
struts.mapper.class Jj?HOtaM  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O]' 2<;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 RL3*fRlb  
;Y0M]pC  
struts.multipart.maxSize ~r~YR=  
      The maximize size of a multipart request (file upload) iBI->xU[U  
      multipart请求信息的最大尺寸(文件上传用) Cz &3=),G  
:$0yp`k  
struts.multipart.parser t YxN^VqU  
      The org.apache.struts2.dispatcher.multipart. O_]hbXV0  
      MultiPartRequest parser implementation for a multipart request (file upload) Ec@cW6g(%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) &gKDw!al  
qw1W }+~g  
#k?.dWZ!  
struts.multipart.saveDir L9-Jwy2(>  
      The directory to use for storing uploaded files p=odyf1hK  
      设置存储上传文件的目录夹 o (4gh1b%  
/l_u $"  
struts.objectFactory -K3d u&j  
      The com.opensymphony.xwork2.ObjectFactory implementation class "$pbK:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) u`D _  
4}s'xMT!  
struts.objectFactory.spring.autoWire OTl9MwW  
      Whether Spring should autoWire or not .>z1BP:(  
      是否自动绑定Spring YgdQC(ib  
"blq)qo)  
struts.objectFactory.spring.useClassCache lV$CBS  
      Whether Spring should use its class cache or not t<ZBp0  
      是否spring应该使用自身的cache ;dPaWS1D  
Q-rG~O9-  
struts.objectTypeDeterminer g9fYt&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U8J9 #+:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lrj&60R`w  
bv VkN  
struts.serve.static.browserCache b $yIM  
If static content served by the Struts filter should set browser caching header properties or not &>]U c%JK  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6~Dyr82"B  
e^oGiL ~  
struts.serve.static 9!FU,4 X  
      Whether the Struts filter should serve static content or not KJ:z\N8eo  
      是否struts过滤器应该提供静态内容 yjsj+K pL  
L_aqr?Q  
struts.tag.altSyntax 4hc[ rN,]  
      Whether to use the alterative syntax for the tags or not Np%Q-T\  
      是否可以用替代的语法替代tags K_~kL0=4  
a"X h  
struts.ui.templateDir dNhb vzl(  
      The directory containing UI templates CAC%lp  
      UI templates的目录夹 1DcX$b  
g?Tev^D  
struts.ui.theme /_})7I52  
      The default UI template theme 0KTO )K  
      默认的UI template主题 j#~~_VA~  
/Ry% K4$  
struts.url.http.port )z\#  
      The HTTP port used by Struts URLs c BZ,"kp-  
      设置http端口 kDDC@A $  
@&Z^WN,x  
struts.url.https.port q/@+.q  
      The HTTPS port used by Struts URLs $}{[_2  
      设置https端口 ^ghYi|kQq  
n~]"sTC}&  
struts.url.includeParams &bz% @p;  
      The default includeParams method to generate Struts URLs }I-nT!D'y  
      在url中产生 默认的includeParams 3}!u8,P  
"w%:5~u 9  
;N?(R\* 8  
struts.velocity.configfile dW%t ph  
      The Velocity configuration file path T.3{}230<  
      velocity配置文件路径 tsL ; wT_  
8["%e#%`$  
struts.velocity.contexts ^8_yJ=~V  
      List of Velocity context names ]XbMqHGS  
      velocity的context列表 i@.Tv.NZ  
8toOdh  
=\|,hg)c  
struts.velocity.manager.classname %~x?C4L8  
      org.apache.struts2.views.velocity.VelocityManager implementation class Ak,JPz T  
      org.apache.struts2.views.velocity.VelocityManager接口名 "~0`4lo:Xo  
-fk;Qq3O  
struts.velocity.toolboxlocation '?| 1\j  
      The location of the Velocity toolbox +Wg/ O -  
      velocity工具盒的位置 >h)kbsSU0z  
struts.xslt.nocache bXvO+I<  
      Whether or not XSLT templates should not be cached f)j*P<V  
      是否XSLT模版应该被缓存 @fYVlHT%E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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