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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }l?_Cfvu  
_`{{39 F  
struts.action.extension (OcNC/9  
      The URL extension to use to determine if the request is meant for a Struts action )v{41sM+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -xu.=n@,  
R(83E B~_  
struts.configuration nvK7*-  
      The org.apache.struts2.config.Configuration implementation class <`_OpNxqW  
        org.apache.struts2.config.Configuration接口名 K_|~3g  
yLO &(Mb  
struts.configuration.files {kl{mJ*  
      A list of configuration files automatically loaded by Struts w1#jVcUQ  
      struts自动加载的一个配置文件列表 kr`BUW3  
';\gR/L  
struts.configuration.xml.reload <GgtP55  
      Whether to reload the XML configuration or not u?3NBc$~A  
      是否加载xml配置(true,false) AJ` v  
AV 5\W}  
struts.continuations.package O;e8ft '|  
      The package containing actions that use Rife continuations e_k _ ty`  
      含有actions的完整连续的package名称 if[o?6U4t  
$`5lvy^  
struts.custom.i18n.resources I,<54? vS  
      Location of additional localization properties files to load <S8W~ wC  
      加载附加的国际化属性文件(不包含.properties后缀) +F~0\#d  
iQzX-a|4]  
struts.custom.properties T[XP\!z]B!  
      Location of additional configuration properties files to load \_Kt6=  
      加载附加的配置文件的位置 ?hJsN  
bjPbl2K  
-V u/TT0  
struts.devMode (d'j'U:C  
      Whether Struts is in development mode or not a5}44/%  
      是否为struts开发模式 e9`uD|KAS|  
wvmg)4,  
struts.dispatcher.parametersWorkaround dXcPWbrU4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u:uSsAn0$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q= yZx)  
3']:1B  
struts.enable.DynamicMethodInvocation +8)]m<  
      Allows one to disable dynamic method invocation from the URL 8f,'p}@!d  
        允许动态方法调用 fAM D2C  
4-+ozC{  
struts.freemarker.manager.classname -RH4y 2  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RCh$j&Tn  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 j[/SXF\=  
(' Ko#3b  
struts.i18n.encoding _(6B.  
      The encoding to use for localization messages g{ v5mly  
      国际化信息内码 - Y8ks7  
rO(TG  
struts.i18n.reload T018)WrhL  
      Whether the localization messages should automatically be reloaded c BHL,  
      是否国际化信息自动加载 ,%?; \?b%h  
uRm_  
struts.locale >'ksXA4b  
      The default locale for the Struts application Wj4^W<IO  
      默认的国际化地区信息 !2Xr~u7a  
rv,NQZ  
struts.mapper.class 6MQs \J6.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class NF/Ti5y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 rwL=R,  
%jZp9}h  
struts.multipart.maxSize v LBee>$  
      The maximize size of a multipart request (file upload) \,l.p_<  
      multipart请求信息的最大尺寸(文件上传用) 8|5Gv  
{b|3]_-/  
struts.multipart.parser yE.495  
      The org.apache.struts2.dispatcher.multipart. )l#%.Z9  
      MultiPartRequest parser implementation for a multipart request (file upload)  :Hzz{'  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (:?5 i`  
t+3   
>[|GC/C  
struts.multipart.saveDir lrs0^@.+  
      The directory to use for storing uploaded files ;]gsJ9FK<  
      设置存储上传文件的目录夹 :F^$"~(,  
~KAp\!,  
struts.objectFactory d; mmM\3]  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8! H8[J  
      com.opensymphony.xwork2.ObjectFactory接口(spring) @ ],6SKbG6  
:BL'>V   
struts.objectFactory.spring.autoWire <JL\?)}n  
      Whether Spring should autoWire or not s- ,=e  
      是否自动绑定Spring `Di ^6UK(  
fiE>H~  
struts.objectFactory.spring.useClassCache #~H%[ sa  
      Whether Spring should use its class cache or not FJsK5-  
      是否spring应该使用自身的cache ?kL|>1TY  
1V|< A  
struts.objectTypeDeterminer ( zn_8s  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5q5 )uv"  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q7~'![(a  
@<D'-mMt  
struts.serve.static.browserCache tt6. jo  
If static content served by the Struts filter should set browser caching header properties or not yhcNE8mkQ/  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =vqsd4  
{D_++^  
struts.serve.static xSpMyXrQ  
      Whether the Struts filter should serve static content or not g08*}0-k  
      是否struts过滤器应该提供静态内容 qri}=du&F  
eJU;*] xfH  
struts.tag.altSyntax .'t (-eT,  
      Whether to use the alterative syntax for the tags or not 2BoFyL*  
      是否可以用替代的语法替代tags bz, Da  
2{A;du%&  
struts.ui.templateDir ,|T*|2Gm  
      The directory containing UI templates <i\UMrD]`:  
      UI templates的目录夹 &mN'Tk  
pU?{0xZH  
struts.ui.theme 81GQijq  
      The default UI template theme +1otn~(E  
      默认的UI template主题 Nb~,`bu,2  
+ ,@ FxZl  
struts.url.http.port {0is wq'J  
      The HTTP port used by Struts URLs BFBR/d[&  
      设置http端口 m b%C}8D  
W(;x\Nc7  
struts.url.https.port zKIGWH=qqm  
      The HTTPS port used by Struts URLs ;_mgiKHg  
      设置https端口 ]3n, AHA  
c3=-Mq9Q  
struts.url.includeParams ,>D ja59  
      The default includeParams method to generate Struts URLs 8[8|*8xqs  
      在url中产生 默认的includeParams @%6)^]m}r  
cC^W2\  
9@:BK;Fi  
struts.velocity.configfile QCeMKjCmY  
      The Velocity configuration file path H@K#|A=a  
      velocity配置文件路径 'e}uvbK  
=yl4zQmg$  
struts.velocity.contexts v1 LKU  
      List of Velocity context names EkN_8(w  
      velocity的context列表 OENzG~  
Y\.-v\uJu  
r?fH &u  
struts.velocity.manager.classname h/,R{A2mO  
      org.apache.struts2.views.velocity.VelocityManager implementation class *:a'GC%/  
      org.apache.struts2.views.velocity.VelocityManager接口名 %lN2n,AK  
!\QeBd+  
struts.velocity.toolboxlocation wk" l[cH>  
      The location of the Velocity toolbox 3(1 ]FKZtt  
      velocity工具盒的位置 L ;6b+I  
struts.xslt.nocache hS4.3]ei  
      Whether or not XSLT templates should not be cached dZPW2yf  
      是否XSLT模版应该被缓存 x>}B#  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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